HG-181: Add support for custom domains

On production, verify, preview (for the time being) we may use the same domain as the one used for the request.