VPS, Shared and Dedicated
Level 1 · Choosing the hosting
What a virtual private server is. How it compares with shared hosting and a dedicated server on price, control and who does the upkeep.
Course contentsLesson 1 of 7
Level 1 · Choosing the hosting
Level 2 · Plans and the shared machine
Level 3 · First boot and the way back in
Level 4 · The network around the server
After this lesson you can
- Say what a VPS is
- Compare shared, VPS and dedicated hosting
- Tell managed from unmanaged hosting
12 mincovers 6 glossary entries
What a VPS gives you that shared hosting does not
A virtual private server, or VPS, is a server you rent that is one slice of a bigger machine. Software splits that machine into many private servers. Each slice gets its own share of CPU, memory and disk, and its own system. You get full control as the root user. A small one costs a few euros a month.
A hosting provider is the company that owns the machines and rents them out. Most sell three kinds of hosting. They differ in how much of the machine is yours, and in who looks after it.
Shared hosting puts many websites on one server. You get a folder and a web page with buttons. You cannot install your own programs, because the server is not yours. The host runs every update. It is the cheapest and easiest kind, and the most limited.
A VPS sits in the middle. Each slice is a virtual machine: a whole computer made in software. You can install anything and change any setting. Other customers share the same real machine, but they cannot see into your slice.
A dedicated server is a whole real machine for you alone. Nobody shares its power, so it is the fastest and the most steady. It also costs the most. A VPS is ready in about a minute, while a dedicated server can take hours or days to set up.
Managed or unmanaged is a second choice that cuts across all three. With managed hosting, the provider runs the server for you. They install updates, take backups and fix problems, and you pay more for that work. Most cheap VPS plans are unmanaged. The machine is yours, and so is every job on it.
A common mistake is to rent an unmanaged VPS and forget it is your job to keep it safe. Nobody else will patch it. If you do not want that work, pick shared or managed hosting and pay for someone to do it.
Three kinds of hosting side by side
| Shared hosting | VPS | Dedicated server | |
|---|---|---|---|
| What you get | A folder on a server | A slice of a machine | A whole machine |
| Full control | No | Yes | Yes |
| Others on it | Many sites | Other slices | Nobody |
| Ready in | Minutes | About a minute | Hours to days |
| Who runs updates | The host | You, unless managed | You, unless managed |
Which one to pick
- 1
Pick shared hosting
When you need a simple website and do not want to run a server at all.
- 2
Pick a VPS
When you want your own server, your own programs and a low monthly price.
- 3
Pick a dedicated server
When one machine's full power is needed, all the time, with nobody else on it.
Worked example
Lucy outgrows her shared plan
Lucy's photo site runs on shared hosting for 3 euros a month. She wants to add a small app that resizes pictures, but the host will not let her install it.
She rents a VPS with 2 vCPUs and 4 GB of memory for 6 euros a month. She installs the app herself. In return, she now runs the updates too.
The words for this lesson6
Check yourself
Who installs the updates on an unmanaged VPS?
Finished this lesson?
Marking it complete also marks its 6 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.