DNS

What is DNS? The hidden journey from a domain to a website

Follow the address to its destination, and learn why two people may see different versions of a site after the same change.

In-depth technical guide

You moved a website to a new host. It opens correctly for you, but a colleague still sees the old version. You both typed the same address. The first clue is DNS, the system that supplies the information a browser needs to find that destination.

1. Follow a domain to its destination

A domain is the name people type. A DNS resolver looks it up and can ask the authoritative nameservers when it has no cached answer. An A record gives an IPv4 address, an AAAA record gives an IPv6 address, and a CNAME aliases a hostname to another name, such as the destination a host supplies for www.

2. One domain can have two separate destinations

The web host and the email service can be separate. Web records direct browser requests; MX tells mail systems where to deliver email, and TXT can hold verification and policy information. For a web-only move, identify the website records and check which email records need to stay as they are.

3. Why different people can see different versions

The TTL is how long a DNS answer can be cached before a resolver should check again. Editing the record does not instantly erase old cached answers. Compare the root domain and www on two networks before changing anything again. Browser and site caches can also show old content.

4. Plan your checks before switching

Write down each record’s name, type, previous value and new value. Decide who makes the change and when to revert if a critical service fails. Afterwards, open both website names, verify HTTPS, and test form delivery and email if they use this domain. If you don’t have a domain yet, start by searching for a name.

Your next read

A domain cutover plan that keeps your email in mind

A practical guide for an existing domain or website: record the current setup, test the new site, and prepare a rollback before you switch traffic.

3 min read
Read the guide
Put what you learned into practice

Start with what your project needs

Write down your site’s goal, your domain if you have one, and the step you need help with. Include these in your first request so we can discuss the options that fit your project.

About the editor

Nader

Technical infrastructure and launch

Hands-on guides to domains, DNS, hosting, HTTPS and email, from setup through testing and launch.

Meet the whole team