Shared vs VPS vs dedicated vs cloud hosting: the difference

Shared, VPS, dedicated and cloud hosting compared: how each divides up a physical server, who manages your part of it, and which one suits your site.

3–5 minutes
Aerial view of a data center campus

Hosting plans are sold under four main labels. Each one describes how a physical server is divided up, and who looks after your part of it. Once you know that, most hosting pages become easy to read.

TypeWhat you getWho runs the serverGood fit for
SharedAn account on a server used by hundreds of sitesThe hostSmall sites, blogs, brochure sites
VPSA virtual machine with a fixed share of CPU, memory and diskYou, unless sold as managedGrowing sites, several sites, custom software
DedicatedA whole physical machineYou, unless sold as managedSteady heavy workloads, strict isolation
CloudVirtual machines billed by usage, resized on demandYouTraffic that changes a lot, multi-server setups

Shared hosting

Your site lives in one account on a server alongside many others, all sharing its processors, memory and disk. The host handles updates, security and backups, and you usually get a control panelControl panel A website you log into to manage your hosting with buttons and forms, instead of typing commands. cPanel and Plesk are the common ones. More about Control panel → such as cPanel. You cannot install system software or change server settings.

The trade-off is neighbours. When another site on the server gets busy, yours can slow down. Hosts cap each account to keep things fair, and those caps, not the advertised disk space, are usually what a growing site hits first.

VPS (virtual private server)

A physical server is split into virtual machines, each with its own guaranteed slice of resources and its own operating system. You get root accessRoot access Full administrator control of a server: you can change anything, including things that break it. More about Root access →, any software and any configuration. With that comes the job of running it: security updates, the firewall, backups and fixing what breaks. A managed VPSVPS A private slice of a powerful server, with its own guaranteed share of memory and processing and full control, at a fraction of the price of a whole machine. More about VPS → hands that work back to the host. See managed or unmanaged.

Dedicated server

The whole machine is yours. No one else shares the hardware, so performance is predictable. It costs more, and replacing failed hardware takes longer than moving a virtual machine. It makes sense when you need a full machine’s power all the time, or rules require physical separation.

Cloud hosting

Cloud is less a type of server than a way of renting them. You create virtual machines, storage and databases on demand, change their size in minutes, and pay for what you use. That suits traffic that rises and falls. The catch is that costs are harder to predict, and bandwidthBandwidth How much data your website is allowed to send to visitors each month. Every page view uses a little; images and video use the most. More about Bandwidth → is often billed separately.

What about “WordPress hosting” and platforms?

You will also see plans sold by what they run rather than how the server is divided.

  • WordPress hosting is usually shared hostingShared hosting Hosting where your website shares one server with many others. Cheap and simple; the host looks after the server. More about Shared hosting → or a managed VPS tuned for WordPress, often with caching, staging copies and automatic updates. Compare the underlying resources, not the label.
  • Platform as a service (PaaS) runs your app from its code without you managing a server at all. You push code, the platform builds and runs it. It suits apps more than WordPress, and costs rise quickly with traffic.
  • Static hosting serves plain HTML, CSS and JavaScript from a global network, often free for small sites. There is no PHP or database, so it suits documentation, portfolios and sites built with static site generators.
  • Reseller hosting is shared hosting with a panel for creating and billing separate accounts, used by agencies and freelancers who host clients’ sites.

When to move up a level

Shared hosting is the right start for most sites. These signs say it is time to move:

  • Resource limit warnings, or 503 and 508 errors at busy times, even with cachingCache A saved copy of something, kept so it does not have to be made or fetched again. Like keeping a printed copy instead of reprinting it for every person who asks. More about Cache → on.
  • Pages that are fast at night and slow during the day, which points to busy neighbours.
  • Software you need that the host will not install, or a PHP version you cannot choose.
  • Several sites in one account slowing each other down.

The usual next step is a VPS with 2 to 4 GB of memory, managed if you do not want to run the server yourself. A dedicated serverDedicated server A whole physical computer rented just for you, with nobody else’s websites on it. More about Dedicated server → rarely makes sense until a VPS with 16 GB or more is no longer enough. For sizing, see how much RAM a website needs.

Moving between types

Changing type means moving the site to a new server: copy the files and database, test, then change DNSDNS The internet’s phone book. It turns a name people can remember, like example.com, into the number address computers use to find the server. More about DNS →. Hosts with cPanel on both ends can move whole accounts in one step; see how to migrate cPanel to cPanel. For the general process, see the website migration checklist and how to change hosts without downtime.

Reading a plan

  • “Unlimited” always has a limit. Look in the terms for CPU, memory, file count (inodesInode A count of files and folders. Many hosting plans limit how many you can have, even when they offer “unlimited” space. More about Inode →) or “fair use” limits.
  • Compare resources, not plan names. Compare vCPUs, guaranteed memory, storage type (NVMe, SSD or HDD) and bandwidth.
  • Check the renewal price. First-term discounts are common.
  • Ask where backups are stored and how you restore them. A backup on the same server is not much of a backup.
  • Know how you would leave. If you can download your files and database at any time, you can always move.

Get the next guide

One email when there is something worth reading: new guides, errors going around, and hosting changes that affect your site.

No tracking pixels, and one click to leave.

Something out of date? Software changes. If a step no longer works, tell us and we will check it and update the page.