I have a website that I will be hosting the DNS for (testing purposes at first and then it will have some limited traffic).
I have set up DNS so that
site.tld has an
A record to the actual IP, but I don't know what to do about
www.site.tld will point to the same server / application so my logic tells me to add a
CNAME record so that
www.site.tld becomes an alias for
BUT, I've been checking my settings with intodns.com and if I only add a CNAME for the
www.site.tld it gives me the following error:
ERROR: I could not get any A records for www.site.tld!
(the error clears once I do an
A record for
www.site.tld to point to the actual IP)
I don't know if there is a "rule" that
www should always be an A record even though it's actually pointing to the same IP / application.
Thanks for helping me understand this!