subdomainwildcard-subdomain

Should I use an A record or a CNAME for a wildcard subdomain?


Some people are saying use an A record and others a CNAME for a catch all subdomain.

Which should I use and why?


Solution

  • It won't really matter if you CNAME or A record the *.example.com record.

    The one benefit to CNAME is that if you change your A record for www.example.com you won't need to change the *.example.com record as well, but that's minimal.