Nest&Name

Domain vs Hosting: What's the Difference?

Posted Aug 18, 2026✓ Pricing checked Sep 10, 2026

A domain is your address on the web (like yourname.com) and hosting is the space on a server where your website's files actually live. The domain is how people find you; the hosting is where your site is stored and served from. You need both to have a working website, but they're separate products you can buy from separate companies — and confusing the two is the most common mix-up beginners make. The quickest way to keep them straight is a simple analogy: the domain is a street address, and the hosting is the house that address leads to.

What a domain is

A domain is the human-friendly name people type to reach your site, and you rent it from a company called a registrar. Under the hood, the internet runs on numbers — IP addresses like 192.0.2.10 — and a domain is a memorable label that maps to one of those numbers so nobody has to memorise digits. You don't buy a domain outright; you register it for a period, usually one to ten years, and keep it by renewing. Let the registration lapse and the name goes back on the market for someone else to grab. A domain by itself doesn't contain your website; it's just the address, ready to point at wherever your site is hosted.

What hosting is

Web hosting is rented space on a server — a computer that stays online around the clock — where your website's files, images and database live so visitors can load them. When someone types your domain, their browser is directed to your host's server, which sends back your pages. That's the whole job of hosting: to store your site and serve it, reliably and quickly, whenever someone asks for it. Hosting comes in tiers — shared, VPS, cloud, dedicated — that mostly differ in how much server power and isolation you get, but for a first site, entry-level shared hosting is usually all you need. The key point is that hosting is the house; it holds your actual stuff, while the domain just points to it.

The address-and-house analogy

Think of your website as a house. The hosting is the house and the land — the physical place where everything you own is kept. The domain is the street address that tells people how to get there. You can own the address without building a house yet (a registered domain with no site), and you can have a house with no memorable address (a site on a host's default subdomain). But to have a place people can actually find and visit, you need both: an address that points to a house. And just as you can keep your street address while renovating or even moving houses, you can keep your domain while switching hosts — which is exactly why it pays to keep the domain in your own name.

Domain = the address people follow. Hosting = the house your site lives in. DNS is the road sign that points the address at the house. Get all three straight and the rest of building a site is easy.

How the two connect: DNS

A domain and hosting are joined by DNS — the internet's address book. In your registrar account you tell the domain where its house is, either by setting the host's nameservers or by pointing an A record at the host's IP address. From then on, anyone who types your domain is sent to your host's server. This connection is a one-time setup that takes a few minutes, though changes can take up to a day or two to spread across the internet. Because DNS is just a pointer, you can change where your domain points at any time without touching the domain itself — the full walkthrough is in how to connect a domain to your host.

Do you buy them from the same company?

You can, but you don't have to. Many hosts sell both and will register a domain for you — often free for the first year — so everything sits in one account. Alternatively, you register the domain at a dedicated registrar and buy hosting separately, which keeps the domain portable and usually cheaper at renewal. For a first site, either is fine; the choice is really convenience versus independence. Our main guide to getting a domain and hosting lays out both routes with real, dated prices so you can see what each costs after the first year, not just during the promo.

Which one costs more?

Hosting is the bigger, ongoing cost; the domain is the smaller one. A .com domain typically runs about $10 to $22 a year, while shared hosting runs a few dollars a month at the intro rate and more at renewal. So most of your website budget goes to hosting, not the domain — which is why the domain being "free" with a hosting plan saves less than it sounds. Both renew higher than they start, so the number that matters is the second-year total. We break the combined cost down, year by year, in how much a domain and hosting cost.

Once the difference clicks, the rest of setting up a website gets much simpler. You're buying an address and a house, connecting them with a pointer, and keeping the address in your own name so you're never tied to one host. Everything else — which host, which registrar, which plan — is just detail on top of that one clear model.

What about email — is that a third thing?

Email is effectively a third service, and it runs on your domain rather than on your web hosting. When you have [email protected], that mailbox is provided by an email host — sometimes bundled with your web hosting, sometimes a separate product like a dedicated mail provider. It uses the domain (the address) but not the web hosting (the house for your site's pages), and the two are wired up with different DNS records. That's why you can have email on a domain with no website, and a website with no matching email address. For a first site it's perfectly fine to use whatever mailbox your host includes, but it's worth knowing email is its own layer: if you ever move web hosts, your email doesn't have to move with them, and vice versa.

Domain vs hosting, answered

Can I have a domain without hosting?
Yes. You can register and own a domain with no hosting at all — it just won't display a website until you point it at a host. People do this to reserve a name, protect a brand, or set up email before building a site. The domain is yours as long as you keep renewing it, hosting or not.
Can I have hosting without a domain?
Yes. A host will usually give you a temporary address on one of its own subdomains, so you can build and view a site before you buy a domain. It works, but it's not memorable or professional, which is why most people add their own domain once the site is ready.
Is a domain a one-time purchase?
No. A domain is rented, not bought outright — you register it for a set number of years and keep it by renewing. If you stop paying, it expires and can be registered by someone else. Set auto-renew or a calendar reminder so you don't lose your address by accident.

Ready to get set up? See how to get a domain and hosting, or work out whether to buy them together or separately.