Skip to main content

QUIC.cloud CDN with Litespeed - CNAME issue

Comments

5 comments

  • cPanelLauren
    Hello, I'm reaching out to someone from LiteSpeed to provide information on this, they should be in touch here soon!
    0
  • LitespeedLucas
    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.
    0
  • inteldigital
    Thankyou @cPanelLauren and thankyou @LitespeedLucas both for your replies. Ok, so I can simply use my www. CNAME record which is currently set to my server IP?
    0
  • LitespeedLucas
    Ok, so I can simply use my www. CNAME record which is currently set to my server IP?

    Correct, that also assumes your website uses www.
    0
  • inteldigital
    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
    0

Please sign in to leave a comment.