Domain Name vs Web Hosting: What's the Difference (and Do You Need Both?)

Last updated: November 24, 2026 · Checked against ICANN, Cloudflare, and WordPress.org official pages (sources at the bottom)

We may earn a commission if you buy through links here — it never changes our picks.

Almost every first website starts with the same confusion. A checkout screen offers a domain name, then hosting, then a bundle of both, and the two blur into one purchase. They are not one purchase. A domain name and web hosting are two separate services, renewed on separate schedules and moved in separate ways when you switch providers. This guide separates them: what each is, how they connect, when you need one without the other, and what happens when you change providers or let a payment lapse.

Three terms first. A domain name is the address people type to reach you, such as example.com. Web hosting is rented space and power on a server, a computer that stores your website files and sends them to visitors. A registrar is the company you register the domain through. ICANN, which coordinates the internet's naming system, uses a postal comparison worth borrowing: a domain name is like a street address, and there still has to be a building at that address for anything to arrive. The domain is the address. Hosting is the building.

The short version

  • The domain is the address, hosting is the building. The domain points visitors to the right place. Hosting holds the site: its files, database, and page-building software.
  • They connect through DNS. The Domain Name System, or DNS, translates your domain name into the numeric address of your hosting server. Our domain pointing walkthrough covers the two ways to make that connection.
  • A public website needs both. A domain with no hosting shows nothing of yours. Hosting with no domain leaves your site at an address nobody will remember or type.
  • You do not have to buy them from the same company. ICANN states this plainly: registrars may offer hosting in a package, but you are not required to use it. Separate providers are normal and fully supported.
  • Each one survives the other's move. Change hosts and your domain stays registered where it is. Transfer the domain and your site stays on the same host, as long as their connection is kept intact.

The two products, in plain words

Start with the domain name. Registering one is not buying it forever. ICANN explains that it is closer to leasing: you hold the right to use that exact name for a set period, and you keep control by renewing before the period ends. Registrars offer registrations in one-year increments, up to a maximum remaining term of ten years. While yours is active, no one else can register the same name.

A domain name has two parts, split at the dot. The part you choose sits before it, and the part after it is the top-level domain, or TLD, such as .com, .net, or .org. One organisation, called a registry, runs each TLD and keeps its master list of names. You never deal with the registry directly. You register through a registrar, a company accredited by ICANN to sell registrations, or a reseller working under one. The registrar holds your renewal, your contact record, and the controls you use to move the name.

Hosting is a service, not a name. A host runs servers, computers that stay on around the clock, and rents you space and capacity on one. Your website files live there, and so does its database, the structured store holding your pages and settings if you use software such as WordPress. When a visitor arrives, the server builds or fetches the page and sends it back. WordPress.org's requirements show what that involves: a host must support current PHP, a MySQL or MariaDB database, and HTTPS. A domain provides none of that. It cannot run software, store a file, or send a page.

QuestionDomain nameWeb hosting
What is it?Your address on the internet, the name people typeRented space and power on a server that runs your site
What does it hold?No files. The right to use the name, and settings that point it somewhereYour site files, database, images, and page-building software
Who sells it?A registrar, or a reseller working under oneA hosting company, which may also be a registrar
What happens if it lapses?The name can stop resolving, and after its recovery windows pass, someone else can register itThe site goes offline; its files sit with the host until its retention terms run out
How do you move it?Transfer the registration to a new registrar, a registrar-to-registrar processCopy the site to the new host, then point the domain at it

How a visit reaches your site: DNS, step by step

The two products meet in DNS. Computers find each other by number, not by name. Every server has an IP address, a numeric address. People cannot be expected to memorise those numbers, so DNS translates the name a person types into the number a browser needs. Cloudflare's learning centre calls DNS the phonebook of the internet, and the lookup works like this.

1

A visitor types your domain name

The browser asks a DNS resolver, a service that looks up names on request, for the address behind your domain.

2

The resolver follows the name in parts

A root server points it to the servers for your TLD, which point it to your domain's nameservers. Nameservers store your domain's DNS records and answer questions about them.

3

Your nameservers answer with the hosting address

The key answer comes from an A record, which gives the IPv4 address for a domain. AAAA records do the same for IPv6 addresses. That number is your hosting server's address.

4

The browser asks the host for the page

The browser connects to that server and requests the page. The host sends it back, and the visitor sees your site under your domain name. The domain got them to the door. The hosting served everything after that.

Two lessons fall out of those steps. First, the connection is a set of settings, not a physical link. You make it by pointing your nameservers at your host, or by setting DNS records such as the A record yourself, the choice our domain pointing walkthrough works through. Second, changes take time to spread. ICANN notes that a changed link between a domain and its address is recognised across the network as DNS updates spread, and Cloudflare's setup guide says to allow up to 24 hours when you change nameservers at your registrar. A site still showing the old host an hour after a move is usually mid-update, not broken.

Who does what: registry, registrar, host, and you

Most domain confusion is company confusion. Four parties touch your website, and problems get solved faster when you take them to the right one.

PartyIts jobWhen you contact it
RegistryRuns one TLD, such as .com, and keeps its master list of namesAlmost never. You have no account with it
RegistrarSells and manages your registration: renewal, contact record, transfers, and nameserver settingsThe name will not renew, you need to move it, or you are locked out of the account
HostRuns the server your site lives on: files, database, backups, and uptimeThe site is down or showing an error, or you need a backup restored
YouHold both accounts, keep payment methods current, and keep the registration contact email reachableAlways. No provider can renew a product on a card that no longer works

The reseller wrinkle matters. ICANN notes that many companies selling domains are resellers, not accredited registrars, and often bundle hosting and email with the registration. If you bought your name inside a hosting checkout or through a designer, your registration may sit with a registrar you have never visited, under an account someone else created. Find where the domain is registered and confirm it lists you as the holder, with an email you control. ICANN warns that if a third party registered your name under their own details, they are the holder of record, whatever you paid them.

Do you need both?

For a normal public website, yes, for a mechanical reason. ICANN's own answer to a reader who just registered a name and wants a working website is that you need hosting services for the domain. Without hosting, your name points at nothing of yours: visitors may see a parked page, advertisements the registrar places on unused names, or an error. Without a domain, hosting still works, but the site lives at a temporary address built from the host's own domain. Fine during a build. Not an address you can print or expect anyone to return to.

There are honest cases where you need only one of the two, and naming them prevents two wasted purchases.

  • Domain only, for now. Claim a name before someone else does, for a business that launches later. Register it, set renewal reminders, and buy hosting when you build. The name waits, unharmed.
  • Domain only, for email. Mail at your own domain needs the domain plus the mail service's DNS records, not website hosting.
  • Hosting only, while building. Test a design on a host's temporary address before choosing a name. Sensible, as long as the launch waits until the domain is connected and checked.
  • Neither, on a hosted platform. Services such as WordPress.com include hosting in their own product, and a free site there runs under the platform's address. You leave that arrangement when you want your own domain and full control of the software, the self-hosted route our WordPress hosting guide covers.

The mirror-image mistake is paying twice: a bundle that includes a basic hosting plan you never use, alongside the real hosting you bought elsewhere. After any bundle purchase, list what you bought, product by product. If two hosting plans appear, cancel the unused one before it renews, and leave the domain registration itself untouched while you do it.

Why they are sold together

If the products are separate, why does every checkout push them as a pair? Partly for a good reason. A first-time buyer needs both on the same day, and a bundle that registers the name, connects it to the hosting, and activates HTTPS in one flow removes the DNS step that trips up most beginners. A free first year of the domain inside a hosting plan is the same idea in price form: one bill, one login, one support desk.

The caution is about year two. Bundled products renew separately, at their own prices, on their own dates, even when sold as one package. The free first-year domain becomes a paid renewal, and the hosting renews at its regular price rather than its first-term price, a pattern our hosting cost guide breaks down in full. None of that makes a bundle a bad buy. It makes the renewal screen the page to read carefully, at purchase and again before the first renewal date.

One bill, both products, kept simple SiteGround

SiteGround, if you want domain and hosting under one roof

Readers who choose the bundled route still need a host that does the website half well. SiteGround is the shared pick in our web hosting guide: it registers domains and hosts the site in one account, and provides a staging tool on GrowBig and above, daily backups, a free SSL certificate, and its WordPress Autoupdate tool, which backs up before it updates. The warning above applies in full: the first term is discounted and renewals are higher, for hosting and domain alike, so check both figures before you buy.

Visit SiteGround

What happens to each when you switch providers

This is where the separation pays off: the two products move independently, on different clocks.

Switching hosts leaves your domain alone. Copy the site to the new host, then change the connection: update the nameservers at your registrar, or update the A record to the new server's address. The registration and its renewal date do not change, and the old plan can be cancelled once the new one is verified live.

Transferring a domain leaves your hosting alone. A transfer moves the registration between registrars. It is paperwork, and it moves no website files. The one risk is the connection: if your DNS records live with the old registrar and the transfer drops them, the name stops pointing at your host. Before any transfer, note your nameservers and records, and confirm the new registrar will carry them over or let you recreate them. A transfer is a quiet-week job, not a launch-day job.

Letting one lapse does not cancel the other. Stop paying for hosting and the domain remains yours until its own renewal date, pointing at a server that no longer serves your site. Let the domain expire and the host still holds your files, at an address nobody can reach by name, while the name passes through its renewal and recovery windows toward becoming available for someone else to register. Two products means two renewals to track, in the same calendar.

Bundled or separate: how to decide

Neither arrangement is correct in general. Each fits a different owner, and the deciding questions are about accounts and exits, not features.

  • Choose one company for both if this is your first site and you want one login, one support desk, and an automatic connection. Accept that moving later means untangling the pair, in the order described above.
  • Choose separate providers if you want to change hosts without touching the registration, or registrars without touching the site. Each move is a one-product job, and one provider's problem never holds both products.
  • Either way, keep the registration in your own account. Whoever holds that account controls the address every other service depends on. A designer can be given access. The account should be yours, with your email as the contact of record.
  • Either way, write down the map. One note naming your registrar, your host, where your DNS records are edited, and both renewal dates answers almost every future support question in advance.

Three worked examples

The parked name. A reader registers a name for a bakery opening next spring, and visitors see a page of ads. Nothing is wrong: no hosting exists, and the registrar has parked the unused name, as ICANN describes. The fix is hosting when the build starts, or a holding page of her own in the meantime.

The move that looked like a loss. A shop owner switches hosts on Friday, and on Saturday some visitors still see the old design. Both hosts are serving correctly. DNS answers are cached by resolvers and browsers, so the internet changes its mind gradually. The domain never moved. Switch early in a quiet period, and judge the result after the update window.

The renewal that cancelled a website by accident. A consultant lets a bundled plan lapse, believing she moved her site months ago. She did. What lapsed was the account that also held her domain registration, and the name stopped resolving. Her files sat intact on the new host, unreachable by name. Tracking both products and both renewal dates is the entire prevention.

Common questions

Is a domain name the same as a URL? No. ICANN makes the same point: a domain name is one part of a URL. A URL adds the scheme in front, such as https, and the path to a specific page after the name. You register the domain. Your URLs are created by your hosting and site software.

Can I buy a domain name forever? No. Registration is a renewable right, offered in one-year increments up to a maximum remaining term of ten years. Renew continually and you can hold a name indefinitely, but there is no permanent one-time purchase.

My registrar and my host are different companies. Is that a problem? No. It is one of the two normal arrangements, and ICANN confirms you are not required to host where you register. The only cost is remembering which company holds which product.

I paid for a domain. Why is there no website? Because the payment bought the address, not the building. Until hosting exists and the domain points at it, the address has nothing to deliver visitors to. A parked page or an error is the expected state.

If I transfer my domain, does my website move too? No. A transfer changes who manages the registration. Your files and hosting stay where they were. What needs care is the DNS connection, which must survive the transfer for the name to keep pointing at the same host.

Does hosting come with a domain included? Often for the first year, and the name then renews at its own price on its own schedule. Treat an included domain as a bundled registration with a registrar behind it, and record its renewal date alongside the hosting renewal.

Where this comes from

Every definition and procedure here was checked against the official pages below on November 24, 2026. No prices or ratings are quoted, because they change and the separation this guide explains does not depend on them.