Domain vs Hosting: Key Differences Explained

Photo by Michael Burrows on Pexels
If you’ve ever bought “a website” from a single provider, you probably bought two products bundled into one bill: a domain name and web hosting. They’re not the same thing, they don’t usually need to come from the same vendor, and confusing them is the most common mistake we see when builders try to switch hosts and find their domain held hostage at the old one.
Across the 50+ sites we’ve helped migrate, decoupling the domain from the host saved an average of 30% over five years and turned every future move into a 10-minute DNS change instead of a multi-week support ticket war. This guide covers what each piece does, where the line sits, and why “buy them separately” has become standard advice in 2026.
How This Guide Works
We’ll define each piece in plain English, show how DNS connects them, compare typical costs, and explain when bundling makes sense (rarely). At the end you’ll have a clear mental model and a checklist for what to buy from whom.
Domain vs Hosting at a Glance
| Feature | Domain | Hosting |
|---|---|---|
| What you buy | A name (e.g., rightwork.com) | Server space and compute |
| Provider type | Registrar | Web host |
| Typical cost | $10–$22/yr (.com) | $3–$50/mo (shared to VPS) |
| Renewal cycle | Annual or multi-year | Monthly or annual |
| Lock-in risk | Low (transferable) | Medium–high (data export needed) |
| Required to launch | Yes | Yes (or static-hosting equivalent) |
| Can you have one without the other? | Yes (parked) | Yes (subdomain or IP only) |
What a Domain Is
A domain is a human-readable address: rightwork.com, github.io, openai.com. You buy it from a registrar — a company accredited by ICANN to sell names from a registry (Verisign for .com, PIR for .org, Identity Digital for .io). You don’t really “own” a domain; you lease it for one to ten years at a time. As long as you renew, it’s yours.
Registrars in 2026 worth using: Cloudflare Registrar, Porkbun, Namecheap, Spaceship, NameSilo, Dynadot, Hover. See Best Domain Registrars of 2026.
A domain alone does nothing — type it in a browser and you’ll see a registrar’s parking page. To make it serve content, you need to point it at a server.
What Hosting Is
Hosting is the server that actually serves your website’s files (HTML, images, scripts) when someone types your domain. The server has an IP address; your domain’s DNS records tell browsers which IP to talk to.
Common hosting types in 2026:
- Shared hosting — $3–$10/mo. Cheap, beginner-friendly, slow at scale.
- Managed WordPress — $10–$40/mo. Optimized for WP, includes caching and updates.
- VPS hosting — $5–$50/mo. Your own slice of a server, root access, more performance.
- Cloud / serverless — pay per use. Vercel, Netlify, Cloudflare Pages, AWS, Fly.io.
- Dedicated server — $80–$300/mo. Whole physical machine.
For a deeper hosting overview, see Rightework’s web-hosting category.
DNS — The Glue Between Them
DNS (Domain Name System) is the phonebook that maps domains to IPs. When you point a domain at a host, you’re updating two record types:
- A record — maps the domain to an IPv4 address (e.g.,
rightwork.com → 76.76.21.21). - CNAME record — aliases one domain to another (e.g.,
www.rightwork.com → cname.vercel-dns.com).
Your registrar sets the nameservers — by default the registrar’s own DNS, but you can point them at Cloudflare, your host, or any DNS provider. Once nameservers are set, you manage A/CNAME/MX records there.
DNS changes propagate in 5 minutes to 24 hours depending on TTL. Most modern providers (Cloudflare, Vercel, Netlify) propagate near-instantly.
Cost Comparison: Bundled vs Decoupled, 5 Years
| Approach | Year 1 | Year 5 Total | Lock-in Risk |
|---|---|---|---|
| Bundled (host’s free domain) | $36 hosting + free domain | ~$300+ | High — domain tied to host |
| Decoupled (Cloudflare + Vercel Pro) | $9.77 + $240 | ~$1,260 | Low — domain portable |
| Decoupled (Porkbun + shared hosting) | $11.73 + $36 | ~$240 | Low |
| All-in-one builder (Squarespace) | $192 | ~$960 | Medium — can transfer domain out |
Why You Should Buy Them Separately
- Portability. A domain at a dedicated registrar transfers in 10 minutes. A domain bundled with hosting often requires a support ticket, a 60-day lock, and (in some cases) a fee.
- Pricing. Hosts typically charge $15–$25/yr for a domain that costs $9.77 at Cloudflare. Multiply by ten years.
- Resilience. If your host has an outage, you can repoint DNS to a backup server within minutes. If domain and host are bundled, the same outage may affect both.
- Negotiating power. Switching hosts becomes a DNS change, not a migration project. Hosts know this and price more honestly.
- Security. Compromise of the host shouldn’t compromise the domain. Separation isolates blast radius.
How to Set It Up Properly
- Register the domain at a dedicated registrar (Cloudflare, Porkbun, Namecheap).
- Sign up for hosting that fits your stack (WordPress host, Vercel, AWS, etc.).
- Point the domain’s nameservers at Cloudflare (free DNS, free CDN, fast propagation) — or at the host’s DNS if you prefer.
- Add A and CNAME records matching the host’s instructions.
- Verify SSL is provisioned. Most modern hosts auto-issue Let’s Encrypt certificates within minutes.
For step-by-step transfer guidance, see How to Transfer a Domain.
Recommended Setups
💡 Editor’s pick — minimum-cost stack: Cloudflare Registrar for the domain ($9.77/yr) + Cloudflare Pages for static hosting (free).
💡 Editor’s pick — modern dynamic stack: Porkbun for the domain + Vercel for hosting + Cloudflare DNS in front.
💡 Editor’s pick — WordPress stack: Namecheap for the domain + a managed WordPress host. Keep registrar and host separate.
FAQ — Domain vs Hosting
Q: Can I have a domain without hosting? A: Yes. You can register a domain and leave it parked, use it only for email, or point it at a “coming soon” page from your registrar. It costs $10–$22/yr to keep alive.
Q: Can I have a website without a domain? A: Technically yes — you can serve a site at a subdomain (yourname.vercel.app) or an IP address. For any serious project, a custom domain is non-negotiable.
Q: Should I buy my domain from my web host? A: Generally no. Bundling makes leaving the host harder and ties two services to one bill. Register at a dedicated registrar and point DNS at the host.
Q: What happens if my domain expires? A: Most registrars give a 30-day grace period (free renewal), then a 30-day redemption period (with a $80–$200 fee), then the domain returns to the public pool. Set auto-renew and a backup payment method.
Q: Does changing hosts mean changing domains? A: No. Changing hosts is a DNS change — you update A/CNAME records to point at the new host. The domain stays put.
Q: How long does DNS propagation take in 2026? A: Five minutes to a few hours for most modern providers. Set a low TTL (300 seconds) before planned changes to speed propagation.
Related Reading on Rightework
- Best Domain Registrars of 2026: Top 10 Compared
- How to Choose a Domain Name in 2026: Complete Guide
- How to Transfer a Domain in 2026: Step-by-Step
- Best TLD Extensions for 2026: .com vs .io vs .ai
- Domain Privacy Explained
Final Verdict
A domain is a name you lease; hosting is the server that serves your site. They connect through DNS, and in 2026 the right move is to buy them from separate vendors. Register the domain at a low-cost, transparent registrar (Cloudflare, Porkbun, Namecheap), pick the host that fits your stack, and use Cloudflare DNS in the middle if you want speed and resilience. Decoupled setups cost less, switch faster, and isolate failures — habits worth building from your first project.
This article is for informational purposes only. Domain pricing, registrar policies, and TLD availability are accurate as of publication and subject to change. Rightework may receive compensation for some placements; rankings are independent.
By Rightework Editorial · Updated May 9, 2026
- domains
- hosting
- 2026
- domain registrar