Can't add subdomain as 'New Site'


Non-‘Enterprise’ tier users can only add root domains as ‘New Sites’. If you attempt to add a subdomain as a ‘New Site’ you get the following error message;

Please ensure you are providing the root domain and not any subdomains (e.g.,, not

Cloudflare I think calls this feature Subdomain Zones (LTZ) and it’s only available with the ‘Enterprise’ tier - see then click ‘Compare all features’ button to see this feature. It is however prohibitively expense to consider upgrading to the ‘Enterprise’ for such a basic feature.

Previous posts have said the reason subdomains can’t be supported is because it’s a ‘technical issue’ - see Register subdomains of freehosters with you . However this feature is well sorted by other DNS providers.

Other previous posted have simply said it’s ‘not supported’ (when it is, but only for the ‘Enterprise’ tier) - Is there any way to add a site with subdomain? - Add site that looks like subdomain

Why do I need subdomain support?

My company has been asked by a client to run a website as a subdomain of their root domain. This client uses a DNS provider other than Cloudflare and is unwilling to consider moving their domains to Cloudflare. They are however willing to delegate NS records to us to manage the subdomain.

Delegating NS records to our company logically makes sense - it allows the client to manage their own DNS records and allows our company to manage just these subdomains for them. I suggested the client should move the domain in question to Cloudflare, then create a restricted ‘API Token’ - see - which would allow me access to manage just the DNS for these subdomains. However the client has 40+ domains and is unwilling to move all of them at this time.


The only solution at present is to use practically any other DNS provider such as Google Cloud DNS, Amazon Route 53 or Azure DNS. Using a DNS provider other than Cloudflare is not the preferred solution, but for the mean time will have to survice until Cloudflare allow non-‘Enterprise’ tier users to add subdomains as ‘New Sites’.

Any help or recommendations would be appreciated. Including suggesting alternative DNS providers I should use.

At the moment I’m considering Google Cloud DNS because;


Thank you for asking.

I would rather say hosting provider, like you can add a sub-domain to any cPanel hosting provider itself, if so?

Okay, if so, may I ask why doesn’t he create a sub-domain and add a DNS record for that hostname at his current hosting (DNS) provider? :thinking:

What and why current DNS/hosting provider does not allow you that, I am not aware.

You can try with a CNAME (requires a Business plan at least) if you are going to use Cloudflare.

Is your Client willing to pay you $200/monthly for Business plan to solve this issue for him, as using Cloudflare is yours preferred solution?.
If not, then I am afraid you would have to figure out some other solution as you already proposed few of them.

Kindly, more information about this can be read at the link from below:

Just adding static A/AAAA records to client’s account is a bad solution - we need to be able to update A/AAAA records ourselves and quickly during disaster recovery and other events.

Like an increasing proportion of the web, we use for DNS and we need to be able to add a TXT entry in an automated way to the client’s subdomains every 45-90 days. Just adding A/AAAA records or a CNAME doesn’t solve the SSL certificate generation issue.

My specific issue is not being able to add a subdomain to a non-‘Enterprise’ tier user. I’m hoping my post will encourage Cloudflare to fix this glaring omission for non-‘Enterprise’ tier users. Please limit your discussion to this. I’m aware of the A/AAAA/CNAME solutions and they don’t/can’t solve all the issues I need solved.

So, your client doesn’t give you the access and the correct privileges for this?

How about using a failover IP or a load balancer and two origins (at least) in that case? :thinking:

May I ask does the TXT value change so frequently or you just add it once and that’s it?, if so?

There is also a HTTP-01 challenge and you could use ACME’s webroot (Certbot):

You can use Business plan.

I am sorry to hear that. I am afraid there is no other way workaround.

Kindly and patiently wait for another reply from someone more experienced and whom might have got some idea to offer in your case.

Unfortunately I don’t have access to the clients account. And they don’t want to give me access to their account either. I consider this quite reasonable.

I’m using letsencrypts DNS challenge at the moment, but you’re right I could use a CNAME and the HTTP challenge. Technically the HTTP challenge is a bit painful for me to implement though (would need to upload the token to multiple load-balanced servers). Non-issue: the HTTP challenge would also prevent me from generating wildcard certificates in the future if I ever needed them.

Technically the NS solution where subdomains are added to Cloudflare is still the technically best and simplest solution to implement.

Thanks for your replies, they’re appreciated - but as you’ve said, I’ll wait to hear from others now if that’s okay!

1 Like

I’m a bit scared of using CNAMEs with the webs increased focus on privacy and things like this: CNAME Cloaking and Bounce Tracking Defense | WebKit

Admittedly that specific privacy feature wouldn’t affect me. But it makes you aware that CNAMEs will increasingly be used to block/restrict access and should now be avoided where possible.

I am afraid, in terms of a related/linked article about CNAME cloacking, to me that is or was a web browser issue. It’s essentially a website masking external trackers (cookies) within their own subdomain, which browsers typically wouldn’t mind because it’s coming from the same domain.

Just like:

We can use different DNS resolvers if so.

Furthermore, Cloudflare only flattens CNAMEs at the root level → Free plan, and that’s because CNAMEs at the root are not a standard. They have to convert it to an A record to be standards compliant. → yet, at Pro plan ang higher we can select to flatten all CNAMEs
Cloudflare nameservers also flatten CNAMEs pointing to (a domain they own), for example.

Could be I am wrong, I am still learning :slight_smile:

You should investigate SSL for SAAS.

This will enable you to have a custom hostname on your CF account, and your client will CNAME to a hostname on your CF account.


Finally moved everything to Google Cloud DNS.

I didn’t realise before but Cloudflare’s API present DNS records in a denormalised way that doesn’t entirely make much sense. Most other API present DNS records in a normalised way - see - where “rrdatas” is an array of strings, rather than just a single value like Cloudflare.

Cloudflare’s denormalised API works great for simple cases, but quickly becomes a pain in the arse for more complex cases. Example: because Cloudflare denormalises it’s records it needs to add a “recordId” for each “value”. Whereas for Googles API the “domain”/“type” is simply the primaryKey.

Long story short - built an API where Cloudflares records are normalised and can access Cloudflare/Google DNS via a single consistent API. A little bit unnecessarily complex, would have been great if Cloudflare just had a second normalised API so didn’t need to do this.

The most annoying/hardest part of moving to Googles APIs was authentication. Firstly Google’s documentation on authentication is absolutely terrible. The docs spend the majority of their time explaining how not to authenticate, and why you shouldn’t do it yourself. Eventually you figure out it’s just a single JWT RS256 token encoded as described here: . But the only way you figure this out is by reading through the overly verbose Google auth library: (this library has an annoying number of dependencies - including a dependency on (google’s own telemetry api), uses old fashion JUL logging rather than SLF4J - everything about this is heavy). Seriously google, if you’re reading this, just write documentation that tells people you’re just using standard JWT to authenticate rather than insisting they use unnecessarily heavy auth libraries.

1 Like

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