Question about adding pages to domain hosted by Cloudflare

I have a domain where the DNS for domain is already hosted in Cloudflare. I want to add a Pages project as the static web site for the domain. All the tutorials and articles I have read about deploying a Pages to a custom domain seem to assume that the DNS has to be created. What if my domain’s DNS is already hosted on Cloudflare? If I setup a Pages custom domain, what happens during the DNS setup portion of the process? Will any of my existing DNS records be altered or removed?

We will automatically add the needed DNS record when adding the domain through the UI :slight_smile:

We won’t remove any entries, just add the needed record (CNAME at your sub(domain) pointing to the pages.dev)

You can also manually add it if you wish.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.