CloudFlare Pages Pointing to Domain from Different Account

if I am hosting Nextjs App in my CloudFlare Account, then can I able to point to the Domain which is registered with another account or different Domain Registrar?
8 Replies
Chaika
Chaika12mo ago
Custom domains · Cloudflare Pages docs
When deploying your Pages project, you may wish to point custom domains (or subdomains) to your site.
Dhaval V
Dhaval VOP12mo ago
so if I want to point to custom domain from external domains, I've to change the nameserver I can't just change CNAME or A records?
Chaika
Chaika12mo ago
Only for the apex/root (ex: you can't add externaldnsdomain.com, but you can add www.externaldnsdomain.com)
If you are deploying to a subdomain, it is not necessary for your site to be a Cloudflare zone. You will need to add a custom CNAME record to point the domain to your Cloudflare Pages site. To deploy your Pages project to a custom apex domain, that custom domain must be a zone on the Cloudflare account you have created your Pages project on.
Dhaval V
Dhaval VOP12mo ago
Okay!! for root domain alone I've to modify the nameserver, else not required!!! also Sir, currently I've deployed one Nextjs App on CF Pages, and it'd created a sub-domain, but the name of the project is little wrong, can it be possible to modify it?
Chaika
Chaika12mo ago
You can modify the name of projects but not the *.pages.dev URL without recreating it "by a little wrong" do you mean how it forces it to be unique by adding characters to the end?
Dhaval V
Dhaval VOP12mo ago
I mean repo---name.pages.dev, so here repo---name had extra hyphen which I want to remove, can it be possible?
Chaika
Chaika12mo ago
You can modify the name of the project/ how it'll show in the dashboard, but that won't change the pages.dev URL, that's permanent. Could only delete and recreate to change that
Dhaval V
Dhaval VOP12mo ago
Understood!!.. Yes I was able to rename the project name, however wasn't able to modify the url
Want results from more Discord servers?
Add your server