How to route www. subdomain to apex domain in pages?

I have a Cloudflare domain. I linked it to my pages project. If I visit mydomain.com, it works fine. But ... I'm struggling to figure out how to route www.mydomain.com to mydomain.com. Here's my current DNS setup. When I go to www.mydomain.com, it gives a DNS error. What should I do?
No description
2 Replies
i40west
i40westthis hour
Add the www name as a custom domain to the Pages project. The DNS entry will be created for you.
squishycantaloupe
squishycantaloupeOPthis hour
Oh ok that worked smoothly. thanks!

Did you find this page helpful?