Www not redirecting to main domain

My domain foo.blue does work fine but when going to www.foo.blue I’m given a 526 error. I’ve added a CNAME for www.foo.blue to foo.blue but this doesn’t seem to be fixing the issue. What can I do to ensure users are redirected (or that they’re redirected to the same URL but not an error)?

The root domain points to an Azure app service. Just want to figure out why www.rootdomain… doesn’t do the same.

What’s the best way to mitigate 526s if Cloudflare is the intermediary?

Massively lacking in detail, eh

For posterity, fixed in a cursory manner this with a page rule.

And a more specific tutorial for this type of redirect:

1 Like