Boris Tuckson
CDCloudflare Developers
•Created by Boris Tuckson on 4/11/2025 in #pages-help
Pages on www. custom domain
Hi all,
I'm looking to host a static site on Cloudflare Pages using a custom domain. I want the www subdomain to be the canonical version, and I’d like visitors who enter the non-www (apex) domain to be redirected to the www site.
Could someone help me with the following questions?
Do I need to connect my Cloudflare Pages project to both the apex and www domains, or just to the www domain?
What’s the best method—bulk redirects, page rules, or something else—for redirecting traffic from the apex domain to the www subdomain?
Can the redirect also force HTTPS (i.e., redirect from http:// to https://)?
Thanks in advance!
1 replies