dns - How to configure www. subdomain with Cloudflare pages? - Stack Overflow

admin2025-04-21  2

I have a Cloudflare pages domain and a domain that is registered with Cloudflare. Going to mydomain works without issue with the following:

CNAME mydomain mycloudflarepagesdomain.pages.dev

However, my www. domain is not working, even though it is configured as follows

CNAME
www
mycloudflarepagesdomain.pages.dev

Both are proxied through Cloudflare. But on the www. subdomain I get "Connection timed out". What should I do?

I have a Cloudflare pages domain and a domain that is registered with Cloudflare. Going to mydomain.com works without issue with the following:

CNAME mydomain.com mycloudflarepagesdomain.pages.dev

However, my www. domain is not working, even though it is configured as follows

CNAME
www
mycloudflarepagesdomain.pages.dev

Both are proxied through Cloudflare. But on the www. subdomain I get "Connection timed out". What should I do?

Share Improve this question asked Jan 22 at 23:17 FoobarFoobar 8,54521 gold badges101 silver badges183 bronze badges
Add a comment  | 

1 Answer 1

Reset to default -1

Use https://developers.cloudflare.com/pages/how-to/www-redirect/.

  • Setup bulk redirect
  • Configure A-level DNS record pointing www to 192.0.2.1
转载请注明原文地址:http://anycun.com/QandA/1745223915a90434.html