I just started with Cloudflare pages and I’m trying to configure a custom domain.
The guide for custom domain only says to put a CNAME record for www.mydomain.com
I did that and it’s working fine.
The problem is if I enter the naked domain, without the www, my website doesn’t open.
so www.mydomain.com work
but mydomain.com doesn’t work.
what IP shall I enter in A record .
matteo
June 21, 2021, 12:27pm
2
You can add that domain to Pages as well and then add a redirect Page Rule for SEO reasons.
Or…a placeholder “A” record will work as well:
This tutorial is deprecated in favour of Single Redirects — Example rules · Cloudflare Rules docs
Archive This tutorial covers <a href="https://community.cloudflare.com/t/redirect-example-com-to-www-example-com/78348">redirecting</a> example.com to www.example.com when using Cloudflare, to do the opposite, please see <a href="https://community.cloudflare.com/t/redirect-www-example-com-to-example-com/78347" class="inline-onebox">Redirect www.example.…
1 Like
system
Closed
July 7, 2021, 10:49pm
4
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.