I have a hosted account with Odoo, which doesn’t recognize naked urls as a matter of policy. Their documentation suggests simply creating 2 redirects like this:
CNAME www.mydomain.com => mydomain.odoo.com
CNAME mydomain.com => www.mydomain.com
Any www request works fine, but it seems that Cloudflare still sends naked requests to the server without converting it to www, so the server throws a 404.
I thought CNAME flattening would solve this. Is there anything I’m missing here? Is there some other way to make the server think the request is coming from “www”?
Any suggestions would be much appreciated.