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:
| Record | What it does | Example use |
|---|---|---|
A / AAAA | Points a name at a server's IP address | example.com → your web host |
CNAME | Points one name at another name | www.example.com → example.com |
MX | Says which servers receive your email | Microsoft 365 or Google Workspace |
TXT | Holds text, used for verification and email security | SPF, 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
- 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.
- Confirm the domain is in your business's name and the contact email works.
- Turn on auto-renew and check the card on file hasn't expired.
- Make sure the domain is locked against transfers (often labeled "transfer lock" or "registrar lock").
- 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
-
How to choose a web host: 9 questions to ask
Nine questions to ask any host before you sign up, and the red flags that should send you elsewhere.
-
Shared vs VPS hosting, and where managed hosting fits
The four common kinds of hosting compared, and how to tell which one your business actually needs.
-
How to move a website to a new host
How to copy and test your site, keep email working and prepare to roll back.