inteldigital

Well-Known Member
Apr 5, 2018
88
15
8
England
cPanel Access Level
Root Administrator
Twitter
Hi,

I'm trying to enable QUIC.cloud CDN through LSCache plugin provided by Litespeed. It's asking me to set the CNAME, which is fine, but the CNAME record already exists because of WHM. How is this resolved?


Cpanel already has a SOA record. You may not mix CNAME records

What does this mean?

Thanks
 

LitespeedLucas

Registered
Verifed Vendor
Aug 29, 2019
4
4
3
Amsterdam
cPanel Access Level
Root Administrator
Hi @inteldigital,

You cannot set CNAME records on the APEX (root) of your domain, at least it's not possible when using the DNS software provided by cPanel.

You'd have to do it for either your www. domain, or use a service such as ns1.com, Zilore, Cloudflare DNS, or similar, that provides "CNAME Flattening", or ANAME as called by some providers.

The limitation is due to the various RFCs in DNS that prohibits you from mixing CNAME records with NS, SOA and A records - what PowerDNS is capable of doing is converting the CNAME into an A record on the fly, however, this won't really work, because you're then only resolving this on the server itself, so you don't benefit from the geo resolution that would otherwise happen.

CNAME on APEX has to be handled by software designed to do it, the providers mentioned earlier are some of them that offer this feature.
 

inteldigital

Well-Known Member
Apr 5, 2018
88
15
8
England
cPanel Access Level
Root Administrator
Twitter
Correct, that also assumes your website uses www.
It does not. I mean, it does, the www works if you visit it. But it defaults to no www. I guess I'll have to look into Cloudflare or something. Seems a bit long in the tooth to have to go through a DNS service to use a CDN, I won't lie. Thanks for your help @LitespeedLucas