I am not capturing the domain

You need to generate the full URL, not just the path: Phoenix.VerifiedRoutes — Phoenix v1.7.0-rc.3