The domain was incorrectly extracted from the request. It must be using the `Host` header at last, trying now `X-Forwarded-For` and `X-Forwarded-Host` first.