Guide
Domain name vs web hosting: what is the difference?
A domain name is your website’s address, and web hosting is the space on a server where your website’s files live. You need both for a site to work: the domain tells browsers where to look, and the hosting holds what they find. You can buy them from the same company or from different ones, and connect them with DNS settings.
The basics
An address and a building
The simplest way to think about it is a shop. The domain name is the address on the street, such as yourbusiness.co.uk. Web hosting is the building at that address, where your goods, your staff and your till live. An address with no building leads nowhere, and a building with no address cannot be found.
A domain name is a registration you rent from year to year. You pick a name, pay a registrar, and hold it for as long as you keep renewing. It costs from a few pounds a year, and our .co.uk and .uk domains are £9.99 a year, the same at renewal.
Web hosting is a service that stores your website’s files, runs the software, and sends pages to visitors when they ask. It costs more than a domain, because it uses real servers, power and support. Our guide to what web hosting is goes deeper.
Comparison
Domain and hosting side by side
| Point | Domain name | Web hosting |
|---|---|---|
| What it is | Your address on the internet | Space and software on a server |
| What you pay for | The right to use a name for a period | Storage, bandwidth, security and support |
| Typical cost | Around £9.99 a year for .co.uk | From £10.03 a year on our plans |
| Where it is managed | At a registrar | At your hosting company |
| What happens if it lapses | The site and email stop working | The site goes offline and may be deleted |
| Can you move it | Yes, by transfer | Yes, by migration |
Connecting them
How a domain and hosting work together
Register the domain
Choose a name and register it with a registrar. See how to choose a domain name.
Buy hosting
Choose a plan with room for your site, and note the server details you are given.
Point the domain at the hosting
Change the domain’s DNS records, or its nameservers, to point to your hosting server. See how to point a domain to hosting.
Build or upload your site
Install WordPress or upload your files to the hosting account.
Add email
Create mailboxes on your domain, which route through DNS records. See setting up email on your domain.
Worked example
A worked example: a new bakery
Aisha is opening a bakery and wants a website. She registers the domain aishasbakes.co.uk for £9.99 and chooses a hosting plan. The two purchases are separate items on her invoice, even though she bought them in the same place.
She installs WordPress on the hosting account with one click, picks a theme and adds her menu and opening hours. She creates an email address, hello@aishasbakes.co.uk. Since the domain and hosting are with the same company, the connection between them is already set up.
A year later she wants to move the domain to a cheaper registrar but keep the hosting. Because the two are separate, she can: she transfers the domain, and changes DNS records so the site keeps working. Nothing needs rebuilding.
Common mistakes
Mistakes people make
A common mistake is thinking that buying a domain gives you a website. A domain alone leads to a parking page, or nothing. You still need hosting, or a site builder that includes it, to publish a site.
Another is buying hosting and forgetting to point the domain at it. The site is on the server, but visitors cannot find it. A third is letting the domain lapse because the hosting company “looks after everything”. If the domain is registered elsewhere, you must renew it there.
Finally, do not pay for things you do not need. A free-for-the-first-year domain is only free once. Check the renewal price, and see what happens when a domain expires so you never lose it.
Quick check
Do you have everything you need?
- A domain registered in your name or your business’s name
- A hosting plan with enough space
- DNS records or nameservers pointing to the hosting
- SSL turned on for the domain
- Email accounts created on the domain
- Renewal dates noted for both
- Auto-renew on for the domain
- A backup of your site
Buying together or apart
Should you buy them from the same company?
Buying a domain and hosting from the same company is convenient. One login, one invoice and one support team, and the connection between them is set up for you. For most small businesses this is the simplest route, and it is how many people start.
Buying them apart gives flexibility. You can keep the domain at a registrar you like and move your hosting whenever you find something better, without touching the domain. The cost is a little more setup, because you must point the domain at the hosting yourself.
Whichever you choose, keep the domain in your own account and name. A domain registered by a web designer in their account is theirs to control, which causes trouble if you part ways. Always make sure you are the registrant and can log in to the registrar yourself.
Costs
What each really costs over three years
A fair comparison looks at three years, not one. For the domain, add the registration and two renewals. For hosting, add the first-term price and the renewal price for the following terms. Then add anything you must buy extra, such as email or privacy services.
With us the sums are simple. A .co.uk or .uk domain is £9.99 a year and the same at renewal, so three years cost £29.97. Hosting depends on the plan, and our yearly prices run from £10.03 to £133.79. Our guide to how much web hosting costs in the UK shows how to compare any host this way.
Do the same sum for every provider you consider. A cheap first year followed by a big jump is only cheap for twelve months.
Hosting and a .co.uk domain in one place
UK servers in London, free SSL and live chat open 24/7 on every plan, from 84p a month (£10.03 billed yearly).
FAQ
Common questions
Do I need both a domain and hosting?
Yes. The domain is the address, and hosting holds the site. Some site builders bundle both into one subscription.
Can I buy them from different companies?
Yes. Connect them by changing the domain’s DNS records to point to your hosting.
Which costs more?
Hosting usually costs more per year. Our .co.uk domain is £9.99 a year, and plans start at £10.03 a year.
Who renews the domain?
The company where it is registered. If your host did not register it, you renew it at your registrar.
Can I move one without the other?
Yes. Domains are transferred and hosting is migrated, independently.
Do I own my domain name?
You hold the right to use it for as long as you keep renewing it. It is more like a rental than a purchase, so always make sure you are the registrant and that auto-renew is on.
Can a web designer register my domain for me?
They can, but make sure the domain is registered in your name and that you can log in to the registrar. Otherwise they control it, which causes problems if you part ways.
Can I get a free domain with hosting?
Some hosts include a free domain for the first year. It usually renews at the normal price after that, so check the renewal figure before you decide.
Keep reading
Related pages
Get your site and domain working together
Free SSL and live chat on every plan, with a 15-day money-back guarantee.