{"id":"https://www.namesilo.com/questions/dns-and-email/how-do-i-point-a-domain-to-a-cloudflare-pages-website","url":"https://www.namesilo.com/questions/dns-and-email/how-do-i-point-a-domain-to-a-cloudflare-pages-website","title":"How do I point a domain to a Cloudflare Pages website?","description":"Add the hostname through Cloudflare Workers & Pages → your Pages project → Custom domains → Set up a domain. Cloudflare requires an apex domain to be…","language":"en","category":"dns-and-email","datePublished":"2026-11-17","dateModified":"2026-11-19","answer":"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.","body":"How do I point a domain to a Cloudflare Pages website?\n\nAdd 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.\n\nAssociate the hostname before pointing its record\n\nCloudflare 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.\n\nYour next steps\n\nAdd the custom domain in the intended Pages project\n\nChoose the documented apex or external-subdomain method\n\nPublish the required delegation or CNAME\n\nVerify Pages activation and existing services\n\nAssociate the hostname before pointing its record\n\nCloudflare 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.\n\nVerified detail: Cloudflare documents setup path, same-account apex zone, external CNAME and missing-association 522.\n\nYour next step: Verify Pages activation and existing services.","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"],"faqs":[],"sources":[{"name":"Official supporting source","url":"https://developers.cloudflare.com/pages/configuration/custom-domains/"},{"name":"NameSilo Add DNS Records","url":"https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record"}],"json":"https://www.namesilo.com/questions/data/how-do-i-point-a-domain-to-a-cloudflare-pages-website.json","markdown":"https://www.namesilo.com/questions/data/how-do-i-point-a-domain-to-a-cloudflare-pages-website.md"}