# How do I point a domain to a Cloudflare Pages website?

Canonical: https://www.namesilo.com/questions/dns-and-email/how-do-i-point-a-domain-to-a-cloudflare-pages-website

Published: 2026-11-17

Last updated: 2026-11-19

Topic: DNS & email

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.

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

Add the custom domain in the intended Pages project

Choose the documented apex or external-subdomain method

Publish the required delegation or CNAME

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.

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.

## Sources

- [Official supporting source](https://developers.cloudflare.com/pages/configuration/custom-domains/)

- [NameSilo Add DNS Records](https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record)
