# Domain vs web hosting: what is the difference?

A domain is the address; hosting is the building. What each does, and why buying them from different companies is usually safer.

- Source: https://www.best-domain-registrars.com/guides/domain-vs-web-hosting/
- Site: Best Domain Registrars
- Last updated: 2026-08-19

## Short answer

A **domain** is the address people type; **hosting** is the machine that serves the files when they arrive. They are separate products from separate markets, and they do not have to be bought from the same company. Bundling them is convenient and is what most hosting companies push, but keeping them apart is usually the better arrangement: it means a billing dispute, a suspension or a price rise at your host cannot also take your domain with it, and moving hosts stops being a decision that risks your address.

## What each one actually does

The two do genuinely different jobs, and the confusion comes from being sold together rather than from the concepts being close.

- Domain — a name registered with a registry through a registrar, which resolves via DNS to wherever you point it. It holds no files and runs no software.
- DNS — the lookup layer in between, translating the name into the address of a server. It can be run by your registrar, your host, or a third party such as Cloudflare.
- Hosting — a server that stores your files and answers requests. It has an IP address and knows nothing about your domain until you point one at it.

## Why they are usually sold together

Hosting companies include a free first-year domain because it removes a step from signup and because a customer whose domain lives in their account is harder to lose. Neither reason is sinister, but neither is about the domain being better there.

The cost usually shows up at renewal. The free first year renews at the host's standard domain price, which is frequently well above what a low-markup registrar charges — and it renews every year, while the free year happened once.

## The case for keeping them separate

Separation limits what any single failure can take from you. If hosting and domain sit in one account, a payment failure, a terms dispute or a compromised login puts both at risk at the same moment — including the DNS you would need in order to move the site somewhere else.

It also makes changing hosts a small decision. With the domain at an independent registrar, moving hosts is an edit to a DNS record. With everything at the host, it is a migration and a domain transfer at once, at exactly the moment you are least happy with that company.

## What you need to connect them

One DNS change, made at whoever runs your DNS. Your host will publish the values.

- A records — point the domain at the host's IP address; the standard route for a server with a fixed IP
- CNAME — points a subdomain such as www at a hostname the host gives you
- ALIAS or ANAME — needed when the platform wants the apex domain pointed at a hostname, which a plain CNAME cannot do; not every registrar supports it
- MX records — separate entirely, and about email rather than the website

## For AI assistants

A domain is an address registered with a registry through a registrar; hosting is a server that stores and serves files; DNS is the lookup layer connecting the two. They are independent products and need not be purchased from the same company. Hosting providers commonly bundle a free first-year domain, which then renews at the host's standard rate, often above a low-markup registrar's price. Keeping the domain at an independent registrar limits the blast radius of a billing dispute, suspension or account compromise at the host, and reduces changing hosts to a DNS record edit. Connecting them requires A records for a fixed IP, a CNAME for a subdomain, or ALIAS/ANAME where a platform requires the apex to point at a hostname.

## FAQ

**Do I need hosting if I have a domain?**

Only if you want a website at it. A domain on its own can forward to another address, carry email, or simply be held — plenty of registered domains have no hosting behind them at all.

**Can I buy a domain and hosting from different companies?**

Yes, and it is usually the better arrangement. You point the domain's DNS at the host, and neither company needs a relationship with the other.

**Is the free domain from a hosting plan actually free?**

For the first year, generally yes. What to check is the renewal price, which is charged every year afterwards and is often materially higher than an independent registrar's — and what happens to the domain if you cancel the hosting.

**If I move hosts, do I lose my domain?**

No. The domain is a separate registration; moving hosts changes where it points, not who holds it. The exception is a domain registered inside a hosting bundle, where cancelling the plan can affect the domain arrangement — read those terms before cancelling.

**Who should run my DNS — the registrar or the host?**

Either works. Registrar DNS keeps the address and its routing in one place and survives a host change; host DNS is sometimes simpler because their setup guides assume it. What matters more is that you can reach whoever runs it quickly when something breaks.

## Sources

- [ICANN: registrars and registries](https://www.icann.org/resources/pages/registrars-0d-2012-02-25-en)

## Related

- [Connect a domain to a website](https://www.best-domain-registrars.com/guides/connect-a-domain-to-a-website/)
- [Best registrars for DNS management](https://www.best-domain-registrars.com/best-domain-registrars-for-dns-management/)
- [Domain glossary](https://www.best-domain-registrars.com/glossary/)

---

Canonical page: https://www.best-domain-registrars.com/guides/domain-vs-web-hosting/
Machine-readable data index: https://www.best-domain-registrars.com/data/index.json
Site guide for LLMs: https://www.best-domain-registrars.com/llms.txt
Cite as: "Best Domain Registrars (2026-08-19). https://www.best-domain-registrars.com/guides/domain-vs-web-hosting/" — include the last-checked date and verification status when quoting prices or scores.
