Guides · Hosting · 4 min
Shared Hosting vs VPS vs Cloud in 2026: What to Pick for Your Stack
Real prices from 13 providers, what each type of hosting is good at, and a simple way to choose for WordPress, Laravel, Node, Python or an AI app.
Hosting pages compare plans by numbers that rarely matter, like "unlimited websites", while hiding the ones that do: the renewal price, who patches the server, and what happens when traffic doubles. This guide compares the five types of hosting with prices we checked on 2 December 2026.
The five types, in one line each
- Shared hosting: many sites on one server, the host manages everything. Cheapest, least control.
- VPS: your own virtual server with root access. Cheap and flexible, but you are the system administrator.
- Managed hosting: a VPS where someone else handles the server, updates and backups. You manage the app.
- Platform (PaaS): you push code, the platform runs it. No server to manage, higher price per unit of RAM.
- Cloud (AWS, Azure, Google): building blocks you put together yourself. Powerful, and the bill has many parts.
What it costs
Monthly prices for roughly the same server size, checked 2 December 2026. Cloud prices are for the virtual machine only; storage, traffic and backups cost extra.
| Type | Example | 2 GB RAM | 4 GB RAM |
|---|---|---|---|
| VPS | Hetzner (Helsinki) | €9.99 | €16.99 |
| VPS | Vultr | $10 | $20 |
| VPS | DigitalOcean | $12 | $24 |
| VPS | AWS Lightsail | $12 | $24 |
| Managed | Cloudways on DigitalOcean | $28 | $54 |
| Platform | Render | $25 | $85 |
| Cloud | AWS EC2 t4g | $12.26 | $24.53 |
| Cloud | Azure B-series | $15.11 | $30.37 |
Shared hosting is priced per site rather than per server. Introductory prices start around $2 a month, but they need long prepayment and renew at higher rates: Hostinger Premium starts at $1.99 and renews at $10.99, while Namecheap Stellar starts at $1.98 and renews at $3.74. Always compare the renewal price.
Which type fits which stack
A brochure or small WordPress site, under about 25,000 visits a month: shared hosting is fine and the host patches the server for you. Pick one with free SSL and daily backups, and check whether you can block PHP in the uploads folder.
Several WordPress or WooCommerce sites, or an agency: a VPS with a control panel, or managed hosting. Shared hosting starts to hurt once one busy site slows the others, and WooCommerce needs more memory than shared plans give.
Laravel, Rails, Django or Node apps with queues and a database: a 2 to 4 GB VPS is the best value if you are comfortable on the command line. If you are not, a platform like Render removes the server work, but plan for the database as a separate cost.
Docker-based apps: a VPS. Remember that Docker publishes ports past UFW, so read how to stop Docker from bypassing your firewall first.
AI apps calling OpenAI or Anthropic: the server is rarely the expensive part. A small VPS or platform instance is usually enough, and the model bill is what to watch. Run your own models only if you have a GPU budget; CPU-only servers are slow for anything but very small models.
Steady traffic with spikes, or a team that already uses AWS: cloud, with budgets and alerts set up on day one.
The questions that matter more than price
- Who applies security updates? On a VPS, you do. Turn on unattended upgrades and follow a security checklist.
- Where are the backups, and have you restored one? A backup on the same server is not a backup.
- What does traffic cost? VPS plans include a few terabytes. Cloud bills each gigabyte that leaves.
- Where are your users? A server near them is faster. Check the region list before you buy.
- How do you leave? A plain VPS or Docker setup moves easily. Platform-specific features tie you in.
Get a recommendation for your setup
The hosting cost calculator takes your stack, monthly visits, region, database and how much server work you want to do, and compares 60 plans across 13 providers. It sizes the server for your stack, adds a managed database where the platform needs one, and shows renewal prices for shared plans.
How PortGate helps
Whichever you choose, the agent installs on any Linux VPS or cloud server with one command and watches ports, SSH, firewall and malware. On shared hosting, where you cannot install anything, PortGate still checks your domain from outside: SSL expiry, security headers and exposed .env or .git files.