Welcome! New to Spiderz? Get 40% off your first purchase.

How your domain, DNS and web hosting work together

The files are uploaded, the domain still shows a parking page, and email works fine. It all makes sense once you see the three separate jobs behind one web address.

The new website is uploaded. You type your domain into the browser, and up comes a parking page from the company you bought the domain from. Meanwhile, email arrives as normal.

It feels like something is broken. Nothing is. You've just met the three separate jobs behind every web address: registering the name, telling the world where it leads, and serving the website when someone arrives. One company can do all three, but often two or three different ones do, and each change happens in a different place.

Three jobs, three places

Job What it does Where you manage it
Registration Makes the name yours for a period, such as yourdomain.com for a year The registrar, where you renew it
DNS Publishes the records that say where the website and email are Whichever service the domain's nameservers point to
Hosting Stores the website and shows it to visitors Your hosting account, such as Spiderz

The parking page makes sense now. The domain's DNS still points to the registrar's own server, which shows a parking page to anyone who asks. Your website is ready on your hosting; nothing has told visitors to go there yet.

Email keeps working because it has its own records. Those still point to wherever your mailboxes are.

What happens when someone visits

Say someone opens https://www.yourdomain.com/contact.

Their browser first asks DNS one question: where is www.yourdomain.com? DNS answers with an address. The browser connects to that server, sets up a secure connection, and asks for /contact. The server finds the page and sends it back.

DNS only deals in names and addresses. It doesn't know about the contact page or your files, and it doesn't redirect anyone. That's why a domain can point to the right server and still show the wrong page: the visitor arrived, but the server isn't showing the files you expected.

If you use a service such as Cloudflare, there's one more stop. The browser reaches Cloudflare first, which passes the request on to your hosting, or answers from its own copy.

Nameservers decide where DNS lives

Your domain's DNS can be run by your registrar, your hosting company or a separate service such as Cloudflare. The nameservers, set at the registrar, decide which.

This catches people out. Many registrars offer a DNS editor whether or not the domain uses it. You can edit records there all day and nothing changes online, because the nameservers point somewhere else. The only records that count are at the service the nameservers name. Find out who manages your domain and DNS shows you how to check.

Website and email go their own ways

Different records point to different places. A and AAAA records give the website's address. MX records say where email is delivered. TXT records hold proofs and policies that help your email be trusted. DNS records explained covers each.

So a website on Spiderz and email somewhere else is perfectly normal. And moving the website means changing the website's records, not starting the DNS from scratch. The care is in the few places where they overlap, such as a mail server name that quietly depends on the website's address. Move your website without interrupting email walks through them.

Two ways to point a domain at new hosting

When you publish with a new host, you have a choice:

  • Change the website's records where your DNS is now. Everything else stays as it is. This is the smaller change, and often the right one.
  • Switch the nameservers to your host's, such as ns1.spiderz.net and ns2.spiderz.net. Your host then runs your DNS too. It suits a domain whose website and email are both moving, but every record you still need must exist at the new provider before you switch.

Either way, the registration stays where it is. Moving a website never requires transferring the domain.

Why changes don't happen everywhere at once

DNS answers are cached. Servers around the world keep a copy of each answer for a while, set by the record's TTL, before asking again. After a change, some visitors get the new answer straight away and others get the old one until their copy expires.

That's why your phone might show the new site while your office still shows the old one. It's also why waiting can't fix a change made in the wrong place. Why DNS changes take time explains how to tell the difference.

HTTPS comes after

Pointing the domain at your hosting doesn't secure it by itself. The server needs a certificate for each name visitors use, www included. On Spiderz, a free certificate is issued automatically once the domain points to your hosting. If something's not right, check HTTPS after connecting your domain.

A note worth keeping

You don't need to become a DNS expert. A few lines kept somewhere safe will save you hours the next time something changes:

Domain: yourdomain.com
Registered with: [company], account owner [name]
DNS managed by: [company]
Website hosted on: [company and plan]
Email with: [company]
Main web address: [https://yourdomain.com or https://www.yourdomain.com]

Leave passwords out. With that note, the next change is simple to describe: update the website records, at the DNS provider, to point at the new host. The registration and email can stay exactly where they are.