How do I point a domain to a Cloudflare Pages website?
Add the hostname through Cloudflare Workers & Pages → your Pages project → Custom domains → Set up a domain. Cloudflare requires an apex domain to be a zone in the Pages project’s account. An externally hosted subdomain can instead use a CNAME to the project’s pages.dev hostname, after the custom domain has been associated in Pages.
Explore these extensions
Associate the hostname before pointing its record
Cloudflare warns that adding only the CNAME without the Pages association can produce a 522 error. For a subdomain using NameSilo DNS, its DNS operation supports CNAME and takes the hostname label without the domain suffix. If moving the whole zone, inventory existing website, mail and verification records first.
Your Next Steps
- 01
Add the custom domain in the intended Pages project.
- 02
Choose the documented apex or external-subdomain method.
- 03
Publish the required delegation or CNAME.
- 04
Verify Pages activation and existing services.
Associate the hostname before pointing its record
Cloudflare warns that adding only the CNAME without the Pages association can produce a 522 error. For a subdomain using NameSilo DNS, its DNS operation supports CNAME and takes the hostname label without the domain suffix. If moving the whole zone, inventory existing website, mail and verification records first.
| Check | Why it matters |
|---|---|
| Verified detail | Cloudflare documents setup path, same-account apex zone, external CNAME and missing-association 522. |
| Your next step | Verify Pages activation and existing services. |
Go a little deeper
Continue with these NameSilo articles selected for this question.
Sources & Useful Links
Published 2026-11-17. Last updated 2026-11-19.
Ready for your next idea?
See if the domain you have in mind is available.