What Is Web Hosting and How Does It Work?
What is web hosting and how does it work? A plain-English guide to hosting vs domains, the types of hosting, uptime and what a plan includes.

Every website you open physically lives somewhere: on a computer that runs day and night and is connected to the internet. That computer is called a server, and the service of keeping your website on it is called web hosting. Without hosting, your site exists only on your laptop and nobody else can see it.
If you have started building a website or are comparing offers, you will quickly run into terms like disk space, bandwidth, DNS, SSL and uptime. This article explains what web hosting is in plain words, how it works, how it differs from a domain and what exactly you get when you pay for a hosting plan.
In short
- Hosting is space on a server where your website's files, database and email live.
- The domain is the address, and hosting is the place that address points to. You need both.
- The server runs 24/7, so your site opens at any time and from anywhere.
- Types of hosting differ in whether you share the server with other sites and how many resources you get.
- Shared hosting is enough for most new websites; a more powerful option makes sense once the site grows.
What is web hosting in plain words
Web hosting is a service in which a company gives you space on its server and makes sure that server stays switched on, connected to the internet and protected. You upload your website's files there, and the company, called a hosting provider, makes sure they are available to every visitor.
The easiest way to picture it is renting a shop unit. Your website is the shop, and hosting is the unit it sits in. The provider is the landlord: it supplies power, locks, security and building maintenance, while you arrange the goods inside. You can move to a different unit without changing the shop, and in exactly the same way your website can move to another provider.
Why not just keep the site on your own computer? Technically you can, but your computer would have to stay on around the clock, with a permanent public IP address, a fast internet connection, backup power and protection against attacks. A hosting provider supplies all of that in a data centre, where servers run in a controlled environment with several internet carriers and round-the-clock monitoring.

What exactly is stored on your hosting
When we say "the site is on the hosting", we usually mean several things:
- Website files – HTML, CSS, JavaScript, PHP scripts, images, video and downloadable documents;
- The database – for WordPress and online shops, this holds the page content, products, orders and users;
- Email – most plans include mailboxes on your own domain, such as office@yourcompany.com;
- Backups – copies of the files and database the site can be restored from if something goes wrong;
- Certificates and settings – the SSL certificate for HTTPS, redirects, the PHP version and more.
How web hosting works: from the address to the open page
The whole process takes a fraction of a second, but several systems are involved. Here is what happens when someone types your website's address into a browser:
- The browser asks DNS. DNS works like the internet's phone book: it translates the name yourcompany.com into the IP address of the server your hosting is on.
- The browser connects to the server. Once it knows the IP address, the browser sends a request to the server. If the site uses HTTPS, both sides first set up a secure connection using the SSL certificate.
- The server prepares the page. The web server software (for example Nginx, Apache or LiteSpeed) receives the request. For a static site it simply returns the ready-made file. For WordPress it runs PHP, which pulls the content from the database and assembles the page.
- The page reaches the visitor. The server sends the HTML code, and the browser downloads the images, styles and scripts and displays the page.

Every one of these steps depends on your hosting. A slow disk, an overloaded processor or a server on the other side of the continent adds delay to every page load. That is why your choice of hosting directly affects your site's speed, and speed affects whether visitors stay.
Hosting vs domain: what is the difference
This is the most common confusion with a first website. The domain and the hosting are two separate services that work together:
| Domain | Hosting | |
|---|---|---|
| What it is | The name and address of the site | The space on a server where the site lives |
| Example | yourcompany.com | A server with the files, database and mailboxes |
| Analogy | The shop's street address | The shop unit itself |
| Billing | Usually yearly | Monthly or yearly |
| Changing it | You usually keep it for years | The site can move to another provider |

The two are linked through the domain's DNS records, which say which server the address should point to. When you change hosting, you only change those records and the domain starts pointing to the new place. That is why it is convenient to keep the domain and hosting with the same provider: the setup is done for you and there is nothing to connect by hand. If you don't have a name for your site yet, check whether the domain you want is available.
One more thing worth knowing: after you change DNS records, the change does not show up everywhere at once. It usually takes from a few minutes to a few hours, occasionally up to a day, until every network learns the new address.
To learn how the address itself works – what it is made of, which extensions exist and how to choose a name – see what a domain name is.
What types of hosting are there
Types of hosting differ mainly in one thing: whether you share the server with other websites and how many guaranteed resources you get. In brief:
- Shared hosting – many websites on one server, with resources divided between them. The most affordable option, well suited to company sites, blogs and small shops.
- Hosting tuned for WordPress – shared hosting with caching, current PHP, automatic updates and backups, optimised specifically for that platform.
- VPS – a virtual server with guaranteed processor, memory and disk just for you. Suitable for busier sites and projects that need custom settings.
- Dedicated server – an entire physical server for a single client. For large projects with heavy traffic or specific requirements.
- Reseller hosting – for agencies and developers who host their clients' websites under their own name.
For a detailed comparison of when each option fits, including the clear signs it is time for a more powerful plan, see how to choose WordPress hosting.
What you get with a hosting plan
Offers look similar, but every line hides a specific feature. Here is what the most common ones mean.
Disk space
How much room you have for files, the database and email. A typical company website takes up anything from a few hundred megabytes to a few gigabytes, but mailboxes and backups quickly add to that. The type of disk matters more than its size: NVMe drives are several times faster than older HDDs and SATA SSDs, and you feel it on every database request.
Processor and memory
On shared hosting, resources are usually capped per account: a share of the processor, a memory limit and a number of simultaneous processes. These limits decide how many visitors the site can serve at the same time without slowing down. On a VPS, the processor cores and memory are guaranteed.
Bandwidth
The amount of data the server sends to visitors. Many plans offer it without a cap, but in practice the processor and memory limits matter more.
Email on your domain
Mailboxes such as office@ or info@ on your own domain look more professional than a free email address. Check how many mailboxes are included and how large they are.
SSL certificate
An SSL certificate encrypts the connection between the visitor and the server and shows the padlock in the browser. Without it, browsers mark the site as "Not secure". Most plans include a free Let's Encrypt certificate that renews automatically.
Backups
Automatic daily backups are your website's insurance. If something breaks after an update or the site gets hacked, you restore yesterday's version in a few clicks. Check how many days of backups are kept and whether you can restore them yourself.
Control panel
The place where you manage your hosting: install WordPress, create mailboxes, upload files, check statistics and restore backups. A good panel lets you do all of this without technical knowledge.
Support
When something stops working, what matters is how quickly you get an answer from someone who understands the problem. Check which languages support is offered in and what hours it works.
What uptime means and why it matters
Uptime is the share of time the server is running and the site opens. Providers usually promise 99.9% or more. The numbers sound almost the same, but the difference is real:
| Uptime | Allowed downtime per month | Allowed downtime per year |
|---|---|---|
| 99% | about 7 hours | about 3.7 days |
| 99.9% | about 43 minutes | about 8.8 hours |
| 99.99% | about 4 minutes | about 53 minutes |
Besides the promised uptime, check whether it is written into a service level agreement (SLA) and what you get if the provider fails to meet it. A promise without a commitment is not worth much.
How much web hosting costs
The price depends on the type. Shared hosting is the most affordable and usually costs a few euros a month. A VPS or a dedicated server costs more, because you get guaranteed resources or an entire machine. When you compare prices, look at three things:
- The renewal price – many providers give a big discount for the first year, and then the price goes up several times;
- What is included – backups, SSL, email and migration can be free with one provider and paid extras with another;
- The real limits – an "unlimited" plan always has processor and memory limits, they are just not on the first line.
Can you have a website without hosting
In short: no. Every website that is reachable on the internet sits on a server somewhere. The difference is who looks after it.
With website builders such as Wix and Squarespace, hosting is included in the monthly subscription. You don't see it as a separate item, but you pay for it, and your site stays locked into their platform. Free hosting services exist too, but they usually come with ads, a subdomain instead of your own address, low speed and no guarantee the site will still be online tomorrow. They are fine for a personal experiment. For a business that wants customers to trust it, they are not.
If you are building your first website, read how to make a website step by step. Hosting is one of the seven steps there.
How to tell what hosting you need
You don't need to be technical to choose well. Answer three questions:
- What kind of site are you building? A company website, a blog or a small WordPress shop runs very well on well-configured shared hosting.
- How many visitors do you expect? New websites rarely get more than a few thousand visits a month. Start with a small plan and upgrade as traffic grows.
- Where are your customers? A server close to your visitors responds faster.
Good hosting lets you move to a bigger plan without changing provider and without downtime. That way you don't pay for resources you don't need yet, and you don't have to move the site when it grows.
Frequently asked questions
What is web hosting and what is it for?
Web hosting is space on a server that is connected to the internet 24/7, where your website's files, database and email live. Its purpose is to keep your site available to every visitor at any time.
Do I need hosting if I have a domain?
Yes. The domain is only the address. Without hosting it has nothing to point to and the site won't open. The exception is when you use the domain only to redirect to another website.
Can I change hosting later?
Yes. The files and database are copied to the new provider, and then the domain's DNS records are updated. Many providers handle the migration for free and without taking the site offline. For a step-by-step guide, see how to migrate a website to a new host.
Is email included with hosting?
With most hosting plans, yes. You can create mailboxes on your domain and use them in a browser, on your phone or in a program such as Outlook.
What happens if my site outgrows its hosting?
The site starts to slow down or return errors during traffic peaks. That is when you move to a bigger plan or to a VPS, where resources are guaranteed just for you.
Conclusion
Hosting is the foundation every website stands on. The domain tells people where to find you, and the hosting is where the site actually lives. Good hosting is fast and reliable, with regular backups and support that answers when you need it. Shared hosting is enough for most new websites, and you look at a more powerful option once the site grows.
Ready for your own website? Check whether your name is available and choose a hosting plan that grows with your project.



