My custom domain is served over Cloudflare. It makes certain changes to my page (for example, protecting all mailto links by rewriting them differently).
My problem is that the site is still accesible on the default netflify subdomain (name.netflify.app).
This makes the whole Cloudflare protection useless, because all mailto links are available there in plain-text.
Is there any way to disable the default subdomain?
Yes I already saw that post. But I cannot get the redirect to work. I tried placing the file in the root and enabling “Pretty URLs”, but no effect. I tried placing it in /static, no effect. I will try /public now, but else I give up.