Allow CNAME to Pages without Custom Domain

Can I point a domain via CNAME to a *.pages.dev without having the domain set in the Pages dashboard as a Custom Domain? (I would like to allow my users to customize a single page in my App with their own domain)
5 Replies
Borut Svara
Borut SvaraOP•4d ago
As of my initial tests is not working, and will result in a "Connection timed out"
Cyb3r-Jak3
Cyb3r-Jak3•4d ago
Due to the way that Pages works, each extra domain needs to be a custom domain
Borut Svara
Borut SvaraOP•4d ago
And is there an api for that? An also does the domains need to be in the Cloudflare dns? 🤔
Cyb3r-Jak3
Cyb3r-Jak3•4d ago
Yes there an API. If you search Pages Custom Domain it should show in the docs. No it doesn’t need to be on Cloudflare.
Cyb3r-Jak3
Cyb3r-Jak3•4d ago
There is also a limit of the amount of custom domains. https://developers.cloudflare.com/pages/platform/limits/#custom-domains
Cloudflare Docs
Limits · Cloudflare Pages docs
Below are limits observed by the Cloudflare Free plan. For more details on removing these limits, refer to the Cloudflare plans ↗ page.

Did you find this page helpful?