Domain DNS Setup Guide: Records, Nameservers, and Common Website Errors
domainsDNSnameserverswebsite setuptroubleshooting

Domain DNS Setup Guide: Records, Nameservers, and Common Website Errors

SSolitary Cloud Editorial Team
2026-11-12
7 min read

Learn how to point a domain to hosting, manage DNS records, protect email, and troubleshoot propagation, conflicts, and HTTPS errors.

Pointing a domain to a website is usually straightforward, but a small mistake in nameservers, record values, or email settings can make a site unreachable or interrupt mail delivery. This guide explains how DNS works, how to configure the records used by most websites, and how to track changes when a domain, host, subdomain, or email provider changes.

Overview

DNS, or the Domain Name System, connects human-readable domain names with the servers and services that handle them. When someone visits example.com, DNS helps their device find the correct web server. The same domain can use separate records for a website, email, verification services, and subdomains.

There are two common ways to manage DNS:

  • Change nameservers: You delegate DNS management to another provider. That provider then becomes the authoritative source for the domain’s DNS records.
  • Edit DNS records: You keep the current nameservers and add or update individual records in the existing DNS dashboard.

Nameservers and DNS records are related but not interchangeable. Nameservers determine which system answers DNS queries. Records inside that system determine where the domain’s website, email, and other services point. Before making a change, identify which provider currently hosts the authoritative DNS zone. Editing records at the wrong provider will not affect the live domain.

For a new website, the safest workflow is to document the existing DNS records, confirm the hosting provider’s required values, make only the necessary changes, and test both the root domain and the www version. Do not delete email-related records simply because the website is moving.

What to track

Keep a simple DNS change log for each domain. Record the date, provider, hostname, record type, old value, new value, reason for the change, and the person or system that approved it. This makes troubleshooting much easier, especially when a website and email use different providers.

DNS records explained

RecordPurposeTypical useImportant detail
AMaps a hostname to an IPv4 address.Pointing a domain or subdomain to a web server.Use the IPv4 address supplied by the hosting provider.
AAAAMaps a hostname to an IPv6 address.Supporting a web server with IPv6 connectivity.Only add it when the destination and hosting setup support IPv6 correctly.
CNAMEPoints a hostname to another hostname.Commonly used for www, hosted services, and verification targets.Do not use a CNAME where the provider requires an IP address, and check for conflicts with other records.
MXSpecifies which mail servers receive email.Connecting a domain to an email provider.Priority values determine the preferred order when multiple MX records exist.
TXTStores text used for verification and policy information.SPF, DKIM, DMARC, domain ownership checks, and service verification.Copy the value exactly; punctuation and quotation handling can matter.

DNS dashboards may ask for a name, host, or subdomain. For the root domain, some providers use @, while others expect the domain name or a blank field. Follow the dashboard’s field guidance rather than assuming all providers use the same format.

Track more than the website’s A or CNAME record. Also record nameservers, MX records, email-authentication TXT records, SSL or hosting verification records, subdomains such as app or staging, and the configured TTL. A complete inventory prevents an otherwise successful website migration from breaking a separate service.

Cadence and checkpoints

Before pointing a domain to a new host

  1. Confirm the domain is not expired or locked in a way that prevents management.
  2. Identify the authoritative nameservers using the registrar or a DNS lookup tool.
  3. Export or copy the current DNS records, especially MX, TXT, and verification records.
  4. Ask the new host whether it requires an A, AAAA, CNAME, or a nameserver change.
  5. Lower the relevant record’s TTL ahead of a planned migration if the current provider allows it and the change is scheduled. This can make later changes easier to adjust, but it does not eliminate caching.
  6. Make the smallest possible change and leave unrelated records intact.

After changing records

Check the domain from more than one network or DNS lookup service, then test the website in a private browser window. Verify the root domain, www, important subdomains, HTTPS, and any redirects configured by the host. Send and receive test email if MX or email-authentication records were changed.

DNS updates do not appear everywhere at once. Resolvers and devices may cache answers according to TTL and their own behavior, so propagation is better treated as a period to monitor than as a precise deadline. Keep the old hosting or DNS configuration available until the new setup has been tested and the expected caches have had time to refresh.

For an active business domain, review the DNS inventory monthly or quarterly. A lightweight checkpoint should confirm that nameservers are expected, the website records still point to the intended host, email records remain present, and no temporary verification or staging records have been left behind.

How to interpret changes

When a DNS check fails, first decide whether the problem is delegation, record content, caching, or the destination service itself.

  • The new record is not visible: Verify that you edited the authoritative DNS provider, not simply the registrar’s unused DNS screen. Then check the hostname and record type.
  • The root domain works but www fails: Check whether www has its own CNAME or A record and whether the hosting platform recognizes that hostname.
  • The website shows the wrong site: Look for an old A, AAAA, or CNAME record, a conflicting record at another DNS provider, or a host that has not accepted the domain in its project settings.
  • Email stopped after a website change: Review MX records first, then confirm that SPF, DKIM, and DMARC TXT records were preserved. Website records and mail records can coexist; changing one does not require deleting the others.
  • Only some users see the old destination: This is consistent with cached DNS responses. Compare results from different networks and allow time for the relevant TTLs and caches to expire.
  • IPv6 users see an error while IPv4 users do not: Inspect the AAAA record. Remove or correct an unused IPv6 destination rather than leaving traffic pointed at a server that is not ready.
  • HTTPS fails after DNS begins working: DNS only directs traffic. The hosting platform must also recognize the domain and issue or attach a valid SSL certificate.

Avoid making several unrelated DNS changes at once. If the result is unexpected, a single reversible change is easier to identify and roll back. Keep screenshots or exported records before editing a production domain.

For related deployment work, use a documented website launch checklist. If a hosting migration is involved, the managed cloud migration checklist can help organize DNS, backups, and verification steps. For HTTPS-specific problems, see SSL certificate setup, renewal, and common HTTPS errors.

When to revisit

Revisit this DNS setup whenever you change hosting, add a website builder, launch a landing page, create a subdomain, switch email providers, renew or transfer a domain, or receive a failed verification notice. It is also worth reviewing on a monthly or quarterly schedule for business-critical domains.

At each review, compare the live DNS records with your change log. Remove records that were created for temporary tests, confirm that staging hosts are not unintentionally public, and check that every active service still has an owner. Pay particular attention to nameserver changes, unexpected A or AAAA records, duplicate CNAME entries, and missing MX or email-authentication records.

Use this final checklist when pointing a domain to a website:

  1. Confirm the authoritative nameservers.
  2. Back up or document the existing DNS zone.
  3. Apply the host’s required A, AAAA, or CNAME value.
  4. Keep MX and relevant TXT records unless the email setup is intentionally changing.
  5. Check for conflicting records and verify the root and www hostnames.
  6. Confirm the domain in the hosting dashboard and complete SSL setup.
  7. Test the site, redirects, subdomains, and email from multiple networks.
  8. Record the change and schedule a follow-up review.

DNS is easiest to maintain when it is treated as a small piece of infrastructure rather than a one-time form. A current inventory, cautious changes, and recurring checks will help you point domains safely without losing track of the services attached to them.

Related Topics

#domains#DNS#nameservers#website setup#troubleshooting
S

Solitary Cloud Editorial Team

Cloud Infrastructure Editors

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.