Key takeaways
- Hosting is the always-on server space where your website's files, database and often email live.
- A domain is the address; hosting is the place the address points to.
- The main types — shared, WordPress, VPS and dedicated — differ in how much of a server you get and who manages it.
When someone visits your website, their browser asks a computer somewhere to send the pages, images and code that make up the site. That computer is a server, and renting space and service on one is web hosting.
What a hosting provider does
A host runs servers in data centres with reliable power, cooling and fast network connections, and keeps them online 24 hours a day. On top of the hardware, a managed host also looks after:
- the operating system and web server software,
- security patches and monitoring,
- databases such as MySQL,
- tools to manage files, email and backups — commonly a control panel like cPanel.
Domains and hosting: two different things
Your domain (like example.com) is an address. Hosting is the place that address leads to. DNS connects the two: when you point a domain’s records at your hosting, visitors who type the name reach your server. You can buy them together or from different companies.
The main types of hosting
| Type | You get | Who manages the server |
|---|---|---|
| Shared hosting | A share of a server’s resources | The host |
| WordPress hosting | Shared hosting tuned for WordPress | The host |
| VPS | A virtual server with allocated resources and root access | You |
| Dedicated server | A whole physical machine | You (or a managed add-on) |
Choosing what you need
Most websites start on shared or WordPress hosting because it’s affordable and someone else runs the server. Projects that need custom software or guaranteed resources move to a VPS. Our guide to choosing web hosting walks through the decision.
Frequently asked questions
Can I host a website on my own computer?
Technically yes, but it must stay online around the clock, have a stable public IP address and be kept secure. A hosting provider handles power, connectivity, hardware and security for you.
Do I need hosting for email?
You need a service that receives mail for your domain. Many hosting plans include email, or you can use a dedicated email hosting service.