Blog
Domain name vs web hosting: what's the difference (and why you need both)
Domain names and web hosting get mixed up all the time, and it's no wonder. Here's a simple way to picture how they fit together, plus what to watch for when you buy, renew or move either one.
If you've ever bought a domain name and then wondered why typing it into a browser shows a blank page or a "this domain is parked" message, you're in good company. It's one of the most common questions we get. The short answer is that a domain name and web hosting are two different things, and a working website needs both of them (plus the website itself).
The street address, the land and the house
The easiest way to picture it is to think about a property.
- Your domain name is the street address. It's the name people type in to find you, like yourbusiness.co.nz. On its own, an address doesn't hold anything. It just tells people where to go.
- Your web hosting is the piece of land. It's space on a server (a computer that's always on and connected to the internet) where your website's files, images and database actually live.
- Your website is the house built on the land. It's the pages, words, photos and forms your visitors see and use.
You need all three to make it work. An address with no land behind it leads nowhere. Land with no address is very hard for anyone to find. And land with an address but no house on it is just an empty section, which is roughly what a blank or "coming soon" page is.
What a domain name actually is
A domain name is a human friendly name that points to a server somewhere on the internet. Computers find each other using numbers (IP addresses), but nobody wants to remember a string of numbers, so domain names do that job for us.
When you "buy" a domain, you're really registering the right to use that name for a set period, usually one year or more. You renew it to keep it. In New Zealand you can register a .co.nz, or a shorter second level .nz such as yourname.nz, as well as international endings like .com, .net and .org. The .nz space is overseen by the Domain Name Commission, which sets the rules that registrars like us follow.
You buy domain names from a domain registrar or a reseller of one. We register and transfer .co.nz, .nz, .com and more, and you can check what's available on our domain search.
What web hosting actually is
Web hosting is the service of keeping your website on a server that's online all day, every day, with a fast connection, security in place and someone looking after it.
Good hosting is more than just storage space. With us, every hosting plan includes daily backups kept for 30 days, firewalls and malware scanning, free SSL certificates, 24/7 automated monitoring and a full control panel. Our shared hosting, control panel and email servers are in Auckland, so your site is close to your New Zealand visitors.
You buy hosting from a web host. Some companies do both domains and hosting (we do), and some only do one or the other. You can see our plans on the NZ web hosting page.
How DNS connects the two
So how does the address know where the land is? That's the job of DNS, the Domain Name System. Think of it as the council's property records: it holds the details that say "this address belongs to that piece of land".
In practice, every domain has a set of name servers. These are the servers that hold your domain's DNS records. Inside those records are a few key entries:
- an entry that points your website address to your hosting server
- MX records, which say where your email should be delivered
- other records used for things like email security and verifying services such as Google or Microsoft
When someone types your domain into their browser, their computer asks DNS where to go, gets the answer and loads your site from your hosting server. It all happens in a fraction of a second.
When you change where your domain points, say because you've moved to a new host, the change can take a little while to spread around the internet. Usually it's quick, but it's worth planning moves for a quiet time.
Email uses your domain too
One thing people often forget is that email addresses like you@yourbusiness.co.nz depend on your domain as well. The domain's MX records tell the world where to deliver your mail. That mail might be handled by your web host, or by a separate provider such as Microsoft 365 or Google Workspace.
This matters because your domain is doing two jobs at once: pointing visitors to your website and pointing mail to your inbox. If anything goes wrong with the domain, both can stop at the same time.
What happens if one of them lapses
Because the three pieces depend on each other, it helps to know what breaks when each one goes.
If your domain expires
This is the big one. When a domain lapses, the address stops working. Your website and your email both go quiet, even though your hosting and all your files are perfectly fine. Visitors can't reach you and emails sent to you can bounce or go missing.
Most domain types have some sort of grace period where you can still renew, but the rules differ depending on the ending, and once a domain is fully released, anyone can register it. We've written more about this in why renewing your domain on time matters.
If your hosting expires
If your hosting lapses, the land is gone. The address still exists, but there's nothing there, so your website won't load. If your email is hosted with the same provider, that can stop too. Depending on the host, your files may be removed after a period, which is why it pays to keep your own copy and to know how long your host keeps backups.
If your website breaks
Sometimes the domain and hosting are fine but the website itself has a problem, such as an outdated plugin or a bad update. That's a house problem, not a land or address problem, and it's usually fixed by restoring a backup or repairing the site.
Transferring each one separately
Because they're separate services, you can move your domain and your hosting independently.
- Moving your domain to a new registrar is called a transfer. You'll need a transfer code from your current registrar (for .nz domains this is called a UDAI), and the domain must be unlocked. Transferring a domain doesn't move your website or email; it just changes who you pay to keep the address registered.
- Moving your hosting means copying your website files, database and often email to a new server, then updating DNS so the domain points to the new place. Your domain can stay where it is.
Lots of people do both at once to keep things simple, but you don't have to. When you buy a year of hosting with us, we'll move your WordPress site across for free and give it a health check while we're at it.
Common mix-ups
Here are a few we hear often, and what's usually going on.
"I bought a domain, so where's my website?"
You've got the address, but there's no land or house yet. You'll need hosting, and then a website built and loaded onto it. Until then, your registrar usually shows a holding page.
"My website is down, is my hosting broken?"
Maybe, but check your domain first. An expired domain looks exactly like a broken site from the outside. It's also worth a look at your host's status page. Ours is at status.slightlydifferent.co.nz.
"I moved hosts and now my email has stopped"
This usually means the DNS was changed and the email records weren't carried across, or the mail was hosted with the old provider. Before any move, make a note of where your email lives and make sure the MX records point to the right place afterwards.
"My web designer bought the domain for me"
That's fine, as long as it's registered in your name or your business's name and you can log in to manage it. The domain is a key business asset. Make sure you, not a former supplier, are the registrant.
"Is the domain included in my hosting?"
Not automatically. They're usually billed separately, even when one company provides both. Check your invoices so nothing slips through the cracks.
Why keeping them together can help
You can absolutely have your domain with one company and your hosting with another. The trade off is that you've got two sets of renewals, two logins and two support teams, and when something goes wrong it's not always clear who to call.
Having both in one place means one client area for invoices and renewals, and one team who can see the whole picture. We go into this more in why it helps to keep your domain and hosting together.
Need a hand?
If you're not sure what you've got, where it's registered or what's connected to what, give us a call on +64 3 541 9468 or get in touch. We're a New Zealand team who explain things in plain English. You can search for a domain or look at our NZ web hosting plans to get started.
Questions about your hosting? Talk to a real person.
Get in touch