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?

2 Replies
Add the
www
name as a custom domain to the Pages project. The DNS entry will be created for you.Oh ok that worked smoothly.
thanks!