Domain Basics

Domain vs Hosting vs Website: What's the Difference? — 2026 Guide

537 VIEWS
1 COMMENTS
October 16, 2026

Domain, hosting and website are three separate things that are often sold together, which is exactly why people confuse them. The domain is the address, such as accrabakes.com. Hosting is a rented computer that stores files and answers requests. The website is the set of pages that the computer serves. You can own any one of the three without the other two, and each one is bought from a different kind of company on a different renewal schedule.

The quickest analogy is a shop. The domain is the street address printed on the sign. Hosting is the building you lease. The website is the shelving, the stock and the paint inside. You can register an address before you lease a building, and you can move your stock to a new building while keeping the same address on the sign.

MailShrine Domains sells the address. We are a registrar, so we register the domain, manage its DNS, and give you two free business mailboxes on it. We do not sell hosting or build websites, and we will say so plainly rather than bundle them. When you are ready for a website, one DNS record change points your MailShrine domain at whichever host you choose.


Real-life example: Efua's bakery

Efua Mensah runs a bakery in Osu, Accra. She sells cakes through Instagram and wants to stop losing orders in DMs. A friend told her to "buy a domain", a cousin said "you need hosting first", and a web agency quoted her for "a website with everything included". She has three quotes for three different things and does not know which one she actually needs this month.

Efua's goals:

  1. Understand which of the three products does what, so she can judge the quotes.
  2. Get orders@accrabakes.com working now, since email is her real bottleneck.
  3. Keep the option of adding a website later without buying anything twice.

The three products side by side

DomainHostingWebsite
What it isThe name accrabakes.com registered in the .com registryA server (or slice of one) that stores files and serves themThe pages, images and code visitors see
Who sells itA registrar such as MailShrineA hosting company or a platform such as Shopify or WordPress.comYou, a designer, an agency or a site builder
How it is pricedPer year, 1 to 10 years. A .com is typically $12.99Per month or year, from a few dollars to hundredsOne-off build fee, or included in a platform subscription
What happens if you stop payingDomain expires, grace period, then anyone can register itServer is switched off; files are deleted after a notice periodNothing by itself; the pages just have nowhere to live
Can you move it?Yes, transfer to another registrar after 60 daysYes, copy the files to a new host and change DNSYes, if you have the files or an export
Needed for email?YesNoNo
Domain, hosting and website shown as address, building and contents
Domain, hosting and website shown as address, building and contents

How the three connect: DNS

The glue between them is DNS. When Efua registers accrabakes.com, her registrar publishes a zone for it: a list of records that say where each kind of traffic should go.

RecordWhat it points atWho provides the target
A or AAAAThe IP address of the web serverThe hosting company
CNAMEAnother hostname, for example shops.myshopify.comA website platform
MXThe mail servers that accept email for the domainThe email provider, MailShrine by default
TXT (SPF, DKIM, DMARC)Rules that tell the world who may send email as youWritten automatically by MailShrine at registration

The website host never needs to own the domain. It only needs the domain's A or CNAME record to point at it. This is why Efua can register the domain first, use it for email for six months, and add a website later by editing one line.


Which one do you actually need?

SituationBuy a domain?Buy hosting?Build a website?
You want a professional email addressYesNoNo
You want a one-page site with contact detailsYesUsually included in a site builder planYes, but a builder template will do
You run an online shopYesIncluded in Shopify, WooCommerce host, etc.Yes
You have a web app with its own serverYesYou already have itYou already have it
You want to protect your brand nameYesNoNo

Efua's answer is the first row. Her bottleneck is email, not a website. She registers the domain now and shelves the agency quote until the busy season ends.


What you need before you start

You needWhy
A clear goal for the next 90 daysEmail only, a brochure site, or a shop decide which of the three to buy now
Your registrant detailsName, address, email. ICANN requires them to be accurate
A chosen name and extensionCheck it in the availability checker
For a website later, a hosting or platform accountIts DNS instructions will tell you which record to add

Step 1: Register the domain by itself

Efua searches accrabakes.com on MailShrine, sees $12.99 first year and $12.99 renewal, and registers it for two years. WHOIS privacy and transfer lock are on by default. Nothing else is required or offered.

Step 2: Use the included mailboxes

Within a few minutes MailShrine has written the MX, SPF, DKIM and DMARC records and created two mailboxes. Efua renames one to orders@accrabakes.com and puts it in her Instagram bio. If she later needs more than two, the Business Email Solo, Team and Business plans add 5, 15 or 50 mailboxes.

Step 3: Decide where the website will live, when you are ready

Three months later Efua picks a site builder. The builder gives her either an IP address (add an A record) or a hostname (add a CNAME for www). It also asks her to verify the domain with a TXT record.

Step 4: Add the records in the MailShrine DNS editor

Efua adds the records next to the existing email records. She does not change nameservers, so her email keeps working. The site is reachable once the record's TTL expires, usually within an hour.

Step 5: Keep the three renewals separate in your calendar

Domain in two years, builder subscription monthly, agency maintenance when agreed. Writing them down stops the common failure where a website subscription is cancelled and the domain is forgotten, or the other way round.


Efua's checklist

  • Learned that domain, hosting and website are three separate purchasesCompleted
  • Registered accrabakes.com for two years with nothing bundledCompleted
  • Got orders@accrabakes.com working the same afternoonCompleted
  • Compared the agency quote against a site builder, knowing both need the same one DNS recordCompleted
  • Choose a website platform before the December rushNot completed
  • Add the builder's A or CNAME record in the DNS editor without touching the MX recordsNot completed

Common mistakes

Letting the web agency register the domain. If the agency's account holds the domain, you depend on them to renew it and to release it if you part ways. Register it yourself and give the agency DNS access.

Changing nameservers to the hosting company when you only needed an A record. Moving nameservers hands all DNS, including your email records, to the host. If the host does not copy the MX records, mail stops. Add a single record instead.

Assuming a hosting plan's "free domain" is yours. Many bundled domains are registered in the host's name or are free only for the first year. Read who the registrant is and what the renewal price will be.

Paying for hosting before you have anything to host. Hosting bills monthly whether or not a site exists. Register the domain, use it for email, and start hosting when the website is actually ready.


Check your work

Three quick lookups confirm the three products are wired correctly. An NS lookup on your domain should return your registrar's nameservers. An MX lookup should return your email provider's servers. If you have a website, an A or CNAME lookup on www should return your host. If email records disappear after you connect a website, nameservers were changed when only a record should have been added.


FAQ

Can I have a domain without hosting?

Yes. A domain is registered and active without any hosting. It can carry email, redirect to a social profile, or simply hold your brand name until you need it.

Can I have hosting without a domain?

Technically yes; a host gives you a raw IP address or a temporary subdomain. Nobody will remember it, and you cannot run email on it, so in practice every real site has a domain.

If I buy a domain from MailShrine, can I host my website anywhere?

Yes. The domain's DNS records point wherever you like. Shopify, WordPress, Wix, Squarespace, Vercel, Netlify or your own server all work with an A or CNAME record.

Does MailShrine sell hosting or website builders?

No. We register domains, run their DNS and provide business email on them. We do not sell hosting, SSL certificates or website builders, and we do not bundle them into the domain price.

What happens to my website if my domain expires?

The website files still exist on the host, but nobody can reach them because the address no longer resolves. Email stops too. Renew within the grace period and everything comes back without changes.


Next steps

Related on YouTube · 1 of 3
DNS Explained in 100 Seconds

Citations & References


Written by Samira K., small-business editor. Samira writes for owners who need a working address and inbox this week, not a technology lecture.

Discussion

Z

Zainab Y.

October 14, 2026

Bookmarking this. I was about to make exactly the mistake in the common mistakes list.

MailShrine Domains

Your domain. Your email. One checkout.

Register any name on 150+ extensions. WHOIS privacy, transfer lock, Anycast DNS and two business mailboxes are included, not upsold.

Search your domain