cname not valid for root of the domain

earonesty
HOBBY

10 months ago

When I added the root of my domain (https://zypley.com), it gave me a CNAME. Obviously a CNAME is not valid at the root of a domain and can cause outages/issues.

So I created an ALIAS (ANAME) record instead at Namecheap.

when I run "dig zypley.com" it works, and shows the correct ip.

however, the system is stuck at "issuing tls certificate"

https://www.zypley.com/ works
https://zypley.com/ still bad cert

Solved

5 Replies

10 months ago

Hello,

It won't break NS lookups but it will break MX lookups, if you don't have any MX records then there is nothing to worry about, if you do, then you would want to use CloudFlare's nameservers with the orange cloud enabled and a root CNAME, that will give you a root IP.


earonesty
HOBBY

10 months ago

the ALIAS gives me a root ip, seems to work fine. still no cert issued tho.


10 months ago

You must make sure that ALIAS will update when the underlying CNAME's IP changes, otherwise your domain will stop working at some point in the future.


earonesty
HOBBY

10 months ago

yeah, that's how the ALIAS record works at namecheap. it's for domain root aliases. also known as an "ANAME" record.

regardless, it's 3 hours later, and no TLS issued.

any advice on getting the TLS working? is there anything i can to to "kick it"?


10 months ago

Remove and re-add it.


Status changed to Solved brody 10 months ago


cname not valid for root of the domain - Railway Help Station