Using a custom domain from a different cloudflare account

Hello there, a simple query: Is it possible to add a custom domain (apex) to my Pages app when the domain’s DNS is managed from a separate cloudflare account or do they need to be within the same account for that to work? Thx
4 Replies
Erisa
Erisa4mo ago
Its possible but you have to use the API to create the custom domain because currently the dashboard tries to stop you
number6
number64mo ago
Thanks, so the API treats a domain from a different cloudflare account the same way it would an externally pointed domain?
Erisa
Erisa4mo ago
Correct If its a subdomain you don't need to use the API though as far as I'm aware To be more specific: the dashboard won't allow you to add an apex domain not on your account as a custom domain because this will only work if your DNS provider supports CNAME flattening. Cloudflare DNS does support CNAME flattening so that is not a problem and you can bypass the artificial limit the dashboard imposes by using the API instead.
number6
number64mo ago
👍 Thnx for clarifying 🙂
Want results from more Discord servers?
Add your server
More Posts