Can't add domain to Cloudflare
I work for a municipal government in Quebec, so we have a domain name like this: ville.<our_city>.qc.ca (i.e.: ville.ddo.qc.ca, ville.pointe-claire.qc.ca, etc.) Because of this weird domain name format, Cloudflare detects it as being a subdomain and only allows me to add <our_city>.qc.ca. This isn't possible, as that isn't our domain. Has anyone had a similar type of issue?
8 Replies
This happens because the city domain isn't on the Public Suffix List: https://publicsuffix.org/
Aside from getting it added there, the only other way is to have an Enterprise organisation account, which will then be able to add subdomains: https://developers.cloudflare.com/dns/zone-setups/subdomain-setup/
Subdomain setup · Cloudflare DNS docs
When you use a subdomain setup, you can manage the Cloudflare settings for one or more subdomains separately from those associated with your root …
from what a sales rep told me, it sounds like an enterprise account is way out of our budget
I understand, unfortunately that's the only way to add a subdomain if the parent isn't on the PSL
I have no connection at all to this issue... but curious to learn more. Both
.ca
and .qc.ca
are in the PSL. Perhaps I don't understand how the PSL works... but isn't that exactly equivalent to a .com
domain?yes, but in our case the suffix isn't just .qc.ca, it's
<city>.qc.ca
and our fqdn is ville.<city>.qc.ca
That doesn't make it any clearer to me. 🙂 Because with a .com address it is common to have something like "sub.domain.com"
So ville = sub, <city> = domain, .qc.ca = TLD
I guess you can't have 1 cloudflare account that covers the entire city domain?
So you aren't registering the city domain but the ville.{PSL} domain in your account?
The domain is
ville.<city>.qc.ca
, not <city>.qc.ca
that's the actual domain, ville
is not a subdomainAh ok. I guess I'm not used to how many layers there can be in government urls. 🙂