DNS Troubleshooting Reference: Why a Website or Email Domain Is Not Working
DNSdomainsemail deliverydomain troubleshootingrecords

DNS Troubleshooting Reference: Why a Website or Email Domain Is Not Working

HHost-Server.cloud Editorial Team
2026-11-30
6 min read

Troubleshoot domains, websites, and email with a practical DNS checklist covering records, resolvers, propagation, and common mistakes.

When a website disappears, a subdomain fails, or email stops arriving, the cause is often a DNS record that is missing, duplicated, outdated, or published at the wrong provider. This reusable DNS troubleshooting checklist explains how to identify the failing layer, verify A, AAAA, CNAME, MX, TXT, NS, and CAA records, and make changes safely without guessing.

Overview

DNS, or the Domain Name System, translates names such as www.example.com into destinations that browsers and mail servers can use. A website request may depend on an A record for IPv4, an AAAA record for IPv6, a CNAME alias, authoritative nameservers, and the hosting server itself. Email uses a separate set of records, particularly MX and TXT records.

A useful first principle is to separate registration, authoritative DNS, and hosting. Your domain registrar holds the registration. The nameservers listed for the domain identify the DNS provider that publishes the zone. Your web or email host provides the destination service. These may be different companies, and changing one account does not necessarily change the others.

Before editing anything, record the current configuration. Export or screenshot the DNS zone, note the current nameservers, and write down the intended web and email providers. If the website is business-critical, make one controlled change at a time and keep a rollback copy.

Checklist by scenario

The root domain does not open

  1. Confirm the domain has not expired or been placed on registrar hold.
  2. Check the domain's authoritative nameservers. Query them with dig NS example.com or an equivalent lookup tool.
  3. At the authoritative DNS provider, verify that the apex domain has the intended A record. If the host supplied an IPv6 address, also check the AAAA record.
  4. Confirm the destination IP belongs to the correct server and that the server is configured to respond to the domain.
  5. Test both the root name and the www hostname. They may use different records and may not fail in the same way.

If an A record points to an old server, updating DNS alone may expose a configuration problem on the new server. Check the virtual host, firewall, SSL certificate, and application configuration as well as the record.

Only www or a subdomain fails

Inspect the hostname-specific record. A www address commonly uses a CNAME pointing to a hosting platform's supplied hostname, while shop, app, or staging may use its own A or CNAME record. A CNAME cannot normally coexist with other records at the same hostname, so remove stale or conflicting entries where appropriate.

Check the spelling, trailing dot conventions used by the DNS interface, and whether the target hostname still exists. A CNAME points to a name, not an IP address; placing an IP address in a CNAME field is a common configuration error.

Email is not arriving or outgoing mail is rejected

  1. Query the MX records with dig MX example.com. Confirm they point to the mail provider's exact hostnames and that priority values are intentional.
  2. Check that each MX target resolves to an A or AAAA record. An MX record should not point to a hostname that has no usable address.
  3. Look for old MX records left by a previous provider. A second provider's MX entry can route mail unpredictably.
  4. Review TXT records for SPF, DKIM, and DMARC. SPF should describe authorized senders, DKIM depends on the provider's selector record, and DMARC should reflect the domain's intended monitoring or enforcement approach.
  5. Verify that the sending application uses the same domain and authentication configuration covered by these records.

Do not create multiple SPF records. SPF information should be consolidated into one policy record, following the syntax required by the sending providers. DKIM and DMARC changes also require exact hostnames and values supplied by the mail service.

HTTPS, certificates, or a new host does not verify

Start with A, AAAA, and CNAME records, then check the certificate's hostname coverage. A DNS change can direct traffic to a new server while the old certificate or web-server configuration remains active. If a certificate authority requires a DNS challenge, verify the requested CNAME or TXT record at the authoritative provider. CAA records can restrict which certificate authorities may issue certificates, so an incorrect CAA entry may block validation even when the website resolves.

Nameserver changes appear incomplete

Compare the nameservers shown at the registrar with the nameservers published by the DNS provider. The zone must be configured at the provider that is actually authoritative. Editing records in an old hosting panel has no effect if the domain now delegates to another DNS service.

What to double-check

RecordTypical purposeDiagnostic question
AMaps a hostname to an IPv4 addressDoes it point to the current web server?
AAAAMaps a hostname to an IPv6 addressIs IPv6 enabled and serving the same site?
CNAMEAliases one hostname to anotherIs the target valid, and are conflicting records absent?
MXIdentifies mail-receiving serversAre obsolete providers removed and priorities correct?
TXTPublishes verification and email-authentication textAre SPF, DKIM, and DMARC names and values exact?
NSDelegates DNS authorityAre you editing the authoritative DNS provider?
CAAControls permitted certificate authoritiesCould a restrictive policy block certificate issuance?

Use more than one resolver when checking a change. For example, compare your local result with a public resolver and query the authoritative nameserver directly using dig @ns1.example-dns.com example.com A. A local cache can show an older answer even after the authoritative zone is correct.

TTL, or time to live, tells resolvers how long an answer may be cached. A shorter TTL can make planned changes easier to observe, but it does not guarantee immediate global visibility. Before migration, lower the relevant TTL in advance when practical; after the change is stable, restore a sensible value for your operational needs.

Common mistakes

  • Editing the wrong DNS panel: the registrar, web host, and DNS provider may each have separate interfaces.
  • Changing records before documenting them: this makes rollback and comparison difficult.
  • Assuming propagation is the only cause: a wrong authoritative record, server firewall, or application binding will not fix itself with time.
  • Leaving old mail records in place: MX, SPF, DKIM, and verification records from a former provider can interfere with a migration.
  • Ignoring AAAA records: some users may reach an incorrectly configured IPv6 destination while IPv4 users see the expected site.
  • Using the wrong record type: an IP address belongs in A or AAAA, while a hostname alias belongs in CNAME.
  • Publishing sensitive data in TXT records: DNS is publicly readable, so do not place passwords or private keys in a DNS value.

For broader infrastructure checks, pair this DNS review with the web hosting security checklist. If the issue began during a server move, document the migration alongside your hosting and deployment workflow.

When to revisit

Return to this checklist before moving a website, changing cloud hosting, adding a subdomain, switching email providers, renewing or transferring a domain, or issuing a new SSL certificate. Recheck it after DNS-provider changes, registrar account changes, infrastructure redesigns, or an unexplained increase in failed deliveries.

For a practical review, schedule these actions:

  1. Keep a current inventory of domains, nameservers, DNS providers, web destinations, and mail services.
  2. Record the intended A, AAAA, CNAME, MX, TXT, NS, and CAA configuration for important domains.
  3. Test website resolution, HTTPS, subdomains, inbound email, outbound authentication, and domain ownership verification after each material change.
  4. Check authoritative answers and at least one independent resolver rather than relying only on a browser.
  5. Review the inventory before seasonal planning cycles and whenever deployment or hosting tools change.

Once the domain works, save the final configuration and the reason for each non-obvious record. That small operational habit turns the next DNS incident into a verification task instead of a search through disconnected hosting accounts.

Related Topics

#DNS#domains#email delivery#domain troubleshooting#records
H

Host-Server.cloud Editorial Team

Technical Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.