Trouble hiding services from public with Cloudflare Access

My team is using Cloudflare Access to restrict public access to our dev and test environments. This is fine with our custom domain but the *.onrender.com domains and PR previews are still available for public access without protection.

Is there a way for us to disable the *.onrender.com URLs and just have our custom domain? This would be extra nice if the PR previews could use the custom domain only as well.

Thanks!

1 Like

Hi there.

I’m pretty sure there is not a way to disable the onrender url.

Here is a topic on the matter:
Any Way to Hide onrender.com when custom domain is Linked - General - Render

Here is a feature request to solve this:
Disable/redirect/add noindex headers for .onrender.com URLs | Feature Requests | Render

Hi Steven,

Thanks for reaching out.

Bergur’s comment has pretty much covered it. The only real workaround at this time would be to catch any requests via onrender.com in your app’s code and redirect them.

Kind regards

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.