RENDER_EXTERNAL_HOSTNAME is set to onrender.com url rather than my custom domain

Is this the expected behaviour?

I would have expected it to be set to be custom domain.

1 Like

Yes, this is expected. Here you can see the list of env vars and their expected values.