Web Hosting Explained: What You Are Actually Renting
See what a hosting plan includes, from disk space and compute to network, software and support, and what it leaves to you.
Key takeaways
- A hosting plan is a bundle of computing resources, network connectivity, server software and some level of maintenance.
- Your domain name and your hosting are separate purchases, even when one company sells both.
- Plans differ mainly in how much of the machine is yours and how much of the upkeep the provider does.
- Limits hidden in the fine print, such as process counts or fair use rules, matter more than headline numbers.
- Keeping your own copy of the site is your responsibility on almost every plan.
When you buy web hosting, you are renting a share of a computer that stays switched on, connected to a fast network and ready to answer anyone who asks for your pages. The plan gives you some storage, some processing power and memory, a way to move your files onto the machine, and a set of software that turns requests into responses.
It usually does not include your domain name, your design, your content or anyone to fix your code. Knowing where those lines fall helps you compare plans that look alike on a pricing page and differ a lot in practice.
What happens when someone visits
A visitor types your address or follows a link. Their device asks the domain name system which IP address belongs to your name. It then opens a connection to that address, usually encrypted with TLS, and sends an HTTP request for a page.
The machine at that address is your host. A web server program on it, such as Apache, Nginx or one of many others, reads the request. If the page is a ready-made file, the server sends it back. If the page has to be assembled, the server hands the job to your application, which may read a database before returning HTML.
Everything in the last four steps happens on resources you are paying for. A slow database, an overloaded processor or a distant data center shows up directly as waiting time for the visitor.
The resources in the bundle
Storage holds your files, database and often your email. Solid-state drives are common and noticeably quicker than spinning disks for the many small reads a website makes. Check whether the figure includes backups, logs and mailboxes, because all of them can quietly fill it.
Processing power (CPU) runs your application code. Memory (RAM) holds running programs and cached data. Cheap plans often advertise generous storage while saying little about CPU and memory, which are the resources a busy dynamic site exhausts first.
Bandwidth, also called data transfer, is the amount of data sent from the server to visitors over a billing period. A page of 2 megabytes viewed 10,000 times moves about 20 gigabytes. Compression, smaller images and caching all shrink that number.
An IP address is where the traffic arrives. On inexpensive plans many sites share one address, and the server uses the hostname in each request to pick the right site. A dedicated address costs more and is only needed for particular cases.
Some limits are less obvious. Plans may cap the number of files, simultaneous processes, database connections or emails sent per hour. A plan described as "unlimited" still has a terms of service document that describes acceptable use, and that is where the real ceiling lives.
The software layer
Raw hardware does nothing for a website until software runs on it. A typical plan provides some or all of the following:
| Component | What it does |
|---|---|
| Operating system | Runs everything else, most often a Linux distribution |
| Web server | Receives requests and returns responses |
| Language runtime | Executes code in PHP, Python, Node.js and so on |
| Database server | Stores structured content such as posts and orders |
| Control panel | Gives you buttons for files, domains, mail and databases |
| Certificate tooling | Obtains and renews the certificate for HTTPS |
On managed plans the provider installs and updates these. On unmanaged plans you get an empty or minimal system and do it all yourself. Ask which language and database versions are offered, since an application you plan to use may require a newer one than an old server provides.
For encryption, many hosts issue free certificates automatically. If yours does not, you can read about automated certificates with ACME to see what the process involves.
What the provider handles and what stays yours
Every plan splits the work. The provider almost always looks after the building, power, cooling, physical hardware and network. Above that, the split moves depending on what you buy.
The trap is assuming that "hosted" means "looked after". A provider may keep the machine healthy while an outdated plugin on your site gets exploited. Read the support policy to learn whether staff will look at application problems or only confirm that the server is up.
Hosting, domains, DNS and email are separate things
These four are often sold together, which makes them easy to confuse.
- Domain registration gives you the right to use a name for a period, renewed on a schedule. See how domain registration works.
- DNS hosting publishes the records that point your name at servers. It may come from your registrar, your web host or a third party.
- Web hosting stores and serves the site itself.
- Email hosting receives and sends mail for your domain. Some web plans include it; many people use a dedicated mail service.
Because they are separate, you can move your website without changing your registrar, or change mail providers without touching the site. Keeping the domain in an account you control directly is wise, especially if a freelancer or agency builds the site. Whoever holds the domain account controls where visitors go.
The main kinds of plan
The names vary, but most offers fall into a handful of shapes.
Shared hosting puts many customers on one server. It is inexpensive and simple, with firm limits. A virtual private server gives you a virtual machine with its own allotment of resources and, usually, full administrative control. A dedicated server is a whole physical machine. Cloud hosting rents capacity that you can add and remove quickly, billed by use. Managed and platform services take over more of the upkeep in exchange for a higher price or fewer choices.
A comparison of shared, VPS, dedicated and cloud hosting covers the trade-offs. If your pages do not need to be built per visitor, static site hosting is often cheaper and faster than any of them.
What to check before you pay
A few questions reveal most of what a pricing page leaves out.
- What is the renewal price? Introductory rates are often lower than what you pay afterward.
- How are backups handled? Find out how often they run, how long they are kept, whether restoring costs extra, and whether you can download them.
- Where is the server? A location near your audience reduces delay.
- What happens if you exceed a limit? The site might be slowed, suspended or billed extra.
- How do you get your data out? You should be able to export files and databases without asking permission.
- What does the uptime promise cover? The remedy is usually a partial credit; what an uptime percentage allows explains the arithmetic.
Provider terms change over time, so confirm each answer in the current plan documents or in writing from support.
A worked example: sizing a small site
Say you run a site for a neighborhood bakery: a home page, a menu, a gallery of 200 photos and a contact form. Resized for the web, a photo might average 200 kilobytes, so the whole gallery is around 40 megabytes. Storage is plainly not the constraint, even on a small plan.
Transfer depends on visits. If a typical visit loads 3 megabytes and the site gets 2,000 visits a month, that is about 6 gigabytes. A single large video hosted on the same plan could multiply it, which is why video usually belongs on a video platform.
Processing and memory depend on how pages are built. If the site is a set of finished files, almost any plan will cope. If it runs a content management system with a booking plugin, each uncached visit runs code and queries the database, and a burst of visitors after a local news mention is when a tight limit shows.
The exercise takes ten minutes and tells you which numbers on a pricing page matter to you and which are decoration.
What can go wrong
The account is suspended. Common causes are unpaid invoices, exceeded resource limits or malware found on the site. Keep billing details current and read the provider's email.
The site is slow only at busy times. You may be hitting a CPU or process limit. The host's usage graphs and your server logs are the first places to look.
A server fails and the backup is stale or missing. Keep at least one copy somewhere the host does not control. Both files and database matter; a copy of only one will not rebuild a dynamic site.
The provider closes or changes its terms. If you own your domain and hold a recent export, moving is an inconvenience rather than a disaster. The steps are in migrating a website to a new host.
Who may not need hosting at all
If all you want is a simple presence, a website builder or a hosted publishing service bundles the hosting invisibly into a subscription. You give up some control and portability and gain a great deal of convenience. A business profile on a map service or a social page can be enough for a very small venture, though you do not control its rules.
Traditional hosting earns its place when you want your own software, your own data and the freedom to move. At that point you are renting infrastructure, and it pays to know exactly which parts of it you have agreed to look after.