Don’t add CNAME entries. Delete any you’ve added. Add the domain name as a Custom Domain in the Pages project and the DNS entries will be handled for you.
To be completely sure I have deleted pretty much everything from my Cloudflare account and started again.
I started from the Pages section to upload my hello world site through github. That is now available at the following URL: https://arnold-now.pages.dev/
Then, in the Pages section I went to custom domain to add my domain arnold.now. Not sure if this matters but I bought the domain at namecheap.
So I set up the domain, didn’t add any CNAMEs myself and let the Cloudflare system do it. Everything is active and verified, I don’t see any errors in the dashboard. I set up the nameservers previously at namecheap so I don’t think there are any issues there.
But somehow it’s still not working. Instead of the previous 522 error I get a standard Chrome error screen with DNS_PROBE_FINISHED_NXDOMAIN
Like I said before, don’t add CNAMEs. Delete that, put your SSL/TLS mode back to Full Strict, and add www.arnold.now as a custom domain to the Pages project just like you added arnold.now.
Yeah I was confused about that. When I tried to add www.arnold.now as a custom domain it rejected it saying it gave me an error saying Please ensure you are providing the root domain and not any subdomains (e.g., example.com, not subdomain.example.com)
But to your point I do see inconsistent behavior now. https://arnold.now works but http://arnold.now doesn’t.
I’ll check it again tomorrow as it’s late where I am. Thanks for all your guidance!
I tried it again, I must have clicked something else than before, and now I have both added as custom domains. I set the SSL back to Full Scrict, and so far it seems to be working OK!