Domain vs hosting: what’s the difference?

A domain name is your website’s address, like example.com. Hosting is the server where the website’s files actually live. You need both, they’re often sold together, and DNS is the piece that connects them.

An address and a building

Think of the domain as a street address and hosting as the building. You can own an address without a building on it (a "parked" domain), and you can move your business to a new building and keep the same address. Customers only ever see the address.

That's why it matters which one you control. If you change hosts, nothing your customers use has to change. If you lose the domain, every business card, Google listing and email address you've ever handed out points nowhere.

What a domain actually is

You don't buy a domain outright. You register it for one to ten years through a registrar and renew it before it expires. The registrar records you as the holder with the registry that runs the ending (.com, .net, .org and so on).

A domain by itself doesn't hold a website or email. It holds settings, the most important being which nameservers answer questions about it. Those nameservers hold your DNS records.

DNS is the connection

DNS records are short lines that say "for this name, go here." The ones you'll see most:

RecordWhat it doesExample use
A / AAAAPoints a name at a server's IP addressexample.com → your web host
CNAMEPoints one name at another namewww.example.com → example.com
MXSays which servers receive your emailMicrosoft 365 or Google Workspace
TXTHolds text, used for verification and email securitySPF, DKIM and DMARC records

So your website and your email can live with completely different companies. The domain's DNS sends web visitors to one and mail to the other. If a change to DNS goes wrong, the website, the email or both can stop working, which is why DNS deserves the same care as the domain itself.

Should they be with the same company?

It's convenient to have everything in one account, and plenty of businesses do. There are good reasons to keep the domain separate, though:

  • Leaving a host is easier. If your host also controls your domain and the relationship goes bad, getting the domain out can be slow. If you hold it elsewhere, you can update the website records your new host specifies.
  • Hosting problems don't take the domain with them. A billing mix-up on a hosting account shouldn't put your domain at risk.
  • Transfers have waiting periods. Under ICANN's transfer policy, registrars can refuse a transfer within 60 days of registration or a previous transfer. A change of registrant can also trigger a 60-day lock. Ask the registrar about opting out before changing the registrant.

Whatever you choose, the important part is that the registrar account is in the business's name, uses an email address you'll still have in five years, and has two-factor sign-in turned on.

Five things to check today

  1. Log in to your registrar. If you don't know who that is, a WHOIS or RDAP lookup on your domain shows the registrar's name.
  2. Confirm the domain is in your business's name and the contact email works.
  3. Turn on auto-renew and check the card on file hasn't expired.
  4. Make sure the domain is locked against transfers (often labeled "transfer lock" or "registrar lock").
  5. Write down where DNS is managed. It's whichever company your nameservers point to.

Once you know who holds what, moving or fixing things gets a lot less scary. If you're planning a move, read how to move a website to a new host.

Sources

Drafted with AI assistance. Report a correction.

Keep reading