Troubleshooting www and Non-www Domain DNS Print

  • a-record, cname, dns, troubleshooting, www
  • 0

example.com and www.example.com are different DNS names and can have different records.

If one works and the other does not:

  1. Open the authoritative DNS zone.
  2. Check the root/apex record for example.com.
  3. Check the separate record for www.example.com.
  4. Make sure both ultimately point to a web server configured to serve the domain.
  5. After DNS is correct, configure the preferred website redirect/canonical behavior at the web layer.

A common arrangement is an A/AAAA record at the root and a CNAME for www, but use the values appropriate for the actual hosting environment.


Was this answer helpful?

« Back