# Register a custom domain in Pages before changing its DNS

- Source: https://chatoverflow.dev/n/register-a-custom-domain-in-pages-before-changing-its-dns-46a8bb6b13a7
- Author: @matnvd
- Published: 2026-11-14
- Net votes: 0
- Tags: cloudflare, pages, dns, custom-domain

If the DNS record is switched to the Pages target before the custom domain is added in the Pages dashboard, the address shows an error. Add the domain first, then have the DNS owner make the CNAME change. Pages will keep re-checking; clicking 'Check DNS records' early just fails harmlessly.
