What Is VPS Hosting? Virtual Server Structure, Overcommitment, Managed vs. Unmanaged, Pros and Cons

Affiliate disclosure v3.1
Affiliate disclosure v3.2 (mobile)

VPS hosting splits one physical server through virtualization and allocates CPU and RAM to each virtual server separately. This guide covers virtual server structure, overcommitment, how VPS differs from shared hosting, and managed vs. unmanaged VPS.

VPS hosting gives you root access to run the server yourself, but unless it is managed, server management is also on you. This guide sums up the pros and cons of VPS hosting and which sites it suits.

1️⃣ How VPS Hosting Works

  • ↪️ One physical server split into virtual servers

A VPS (Virtual Private Server) is a virtual server created by splitting one physical server through virtualization. The splitting is done by software called a hypervisor. Each virtual server runs its own operating system. CPU cores, memory, and disk are also set per virtual server.

Users can Root accessYou'll receive it. You can choose the web server, PHP version, and firewall yourself.

VPS hosting: inside one physical server
Separate per virtual server
VPSVirtual servers: OS and resources set per virtual server
Virtual server 1Mine
🐧 OS
⚙️ CPU cores
🧠 RAM
💽 Disk
Virtual server 2
🐧 OS
⚙️ CPU cores
🧠 RAM
💽 Disk
Virtual server 3
🐧 OS
⚙️ CPU cores
🧠 RAM
💽 Disk
Virtual server …
Hypervisor · software that splits a physical server into virtual servers
🖥️ 1 physical server
🔑 What you choose yourself with root accessWeb serverPHP versionFirewall

2️⃣ Shared VPS vs. Dedicated VPS: Overcommitment

VPS plans fall into shared VPS and dedicated VPS, depending on whether the cores listed on the pricing table are yours alone. Pricing tables usually label them Shared CPU and Dedicated CPU.

On a shared VPS, the listed cores are used in turns with other virtual servers. Most sites use only a little CPU most of the time, so the provider allocates more cores than physically exist. This is called overcommitment. It works on the same principle as an airline overbooking, selling more tickets than seats.

Most of the time the difference does not show. When neighboring virtual servers use the CPU at the same time, your turn is pushed back and your server slows down. On a dedicated VPS, your cores are tied to real cores and only you use them. Performance is consistent, and the price is higher. What gets shared is the CPU. Memory and disk are usually reserved per virtual server under both types.

Shared VPS vs. dedicated VPS: how the CPU is divided
Overcommitment
Shared VPSShared CPU
Real cores 16
Allocated virtual cores 32 (16 virtual servers with 2 cores each)
32 virtual cores take turns on 16 real cores = overcommitment
⚙️ CPU coresUsed in turns with neighbors
🧠 RAMYours alone
💽 DiskYours alone
When neighbors get busy at onceYour turn is pushed back and it slows down
FeesLower
Dedicated VPSDedicated CPU
Real cores 16
Allocated virtual cores 16 (8 virtual servers with 2 cores each)
Your 2 virtual cores are tied to 2 real cores = yours alone
⚙️ CPU coresYours alone
🧠 RAMYours alone
💽 DiskYours alone
When neighbors get busy at onceConsistent performance
FeesHigher
Your share (yours alone)Your share (used in turns with neighbors)Other virtual servers' share

3️⃣ VPS vs. Shared Hosting: Allocation, Not Limits

On shared hosting, accounts share the operating system and web server of a single server. What each account gets is a limit on CPU and memory.

On a VPS, each virtual server has its own operating system, and CPU cores and memory are allocated from the start. Even on a shared VPS, the only thing shared is CPU time. What happens at the limit is also different. Shared hosting stops you at the limit set by the provider with a [508 Resource Limit Is Reached] error.

On a VPS, when the allocated memory runs out, the operating system forcibly kills processes. In WordPress, one example is the database being killed and the [Error establishing a database connection] screen appearing.

Shared hosting vs. VPS: limits and allocation
Dark cells = your share
Shared hosting
1 operating system · web server
OS · web serverShared by all accounts
CPU · memoryOnly a limit per account
At the limitStopped with an error at the provider's limit
What the screen shows508 Resource Limit Reached
VPS
OS · web server
OS · web server
OS · web server
OS · web serverSeparate per virtual server
CPU · memoryAllocated from the start
At the limitThe OS forcibly kills processes
What the screen showsError establishing a database connection
Shared hosting limits and the 508 error → What Is Shared Hosting? CPU/RAM Isolation, Limits, Pros and Cons

4️⃣ Managed VPS vs. Unmanaged VPS

  • ↪️ Who manages the server

With an unmanaged VPS, the provider is responsible only for the virtual server and the network. Operating system updates, installing the web server and PHP, security settings, and backups are done by the user. With a managed VPS, the provider takes on this work. The user handles adding sites, SSL, and backups from a management panel. For this reason a managed VPS costs more. A management fee is added on top of the price of the same server specs.

Managed VPS vs. unmanaged VPS
Who manages the server
Task
Unmanaged VPS
Managed VPS
Virtual server · network
Provider
Provider
OS updates
You
Provider
Web server · PHP install
You
Provider
Security settings
You
Provider
Backups
You
Provider
Fees
Lower
Higher
🎛️ With a managed VPS, from the management panelAdd sitesSSLBackups
More on managed WordPress hosting → What Is Managed WordPress Hosting? What the Host Manages, Managed VPS Differences, Pros and Cons

5️⃣ Pros and Cons of VPS Hosting

With VPS hosting, CPU and memory are allocated, so you are less affected by neighboring sites. Root access lets you tune the server settings to your site, and as visitors grow you add resources simply by moving up a plan.

In exchange, with an unmanaged VPS, server management is on the user. When something goes wrong, you also have to find the cause yourself.

Prices start at around $4–6 a month for an unmanaged VPS and around $11 a month for a managed VPS. Providers that bill by the hour, such as DigitalOcean or Cloudways, do not raise the price at renewal. Providers that sell on a term contract, such as Hostinger, do raise the price at renewal.

Pros and cons of VPS hosting
Starting prices included
👍 Pros
⚙️
CPU and memory are allocated · less affected by neighboring sites
🔑
Root access · server settings tuned to your site
📈
Add resources just by moving up a plan
⚠️ Cons
🛠️
With an unmanaged VPS, server management is on you
🔍
When something breaks, you find the cause yourself
💰 Starting prices
Unmanaged VPS
From $4–6/mo
Managed VPS
From $11/mo
Providers that bill by the hour do not raise the price at renewal. Providers that sell on a term contract do raise it at renewal.

6️⃣ Who Should Use VPS Hosting

The $11-a-month plan used as the example in section 5️⃣ is Cloudways, and we have a direct affiliate partnership with them. The providers we recommend are Cloudways and ScalaHosting. Unmanaged VPS plans are available from Hostinger (from $6.49 a month on a 2-year term) and ScalaHosting (from $19.95 a month).

VPS hosting suits sites that repeatedly hit their limits on shared hosting. The same goes for online stores and membership sites. When many visitors are logged in, caching does not apply and every visit uses CPU.

It also suits running several sites. You put multiple sites on one server and manage their resources together.

For a blog with few visitors or a company website, shared hosting is enough.

If you have never run a server, start with a managed VPS.

Who should use VPS hosting
If any one applies
🔁
Sites that repeatedly hit their limits on shared hosting
You're short on resources.
🛒
Online stores · membership sites
When many visitors are logged in, caching does not apply and every visit uses CPU.
🗂️
Running several sites
Put multiple sites on one server and manage their resources together.
✋
Sites where shared hosting is enough
Blogs with few visitors · company websites
If you have never run a server, start with a managed VPS.
Compare managed VPS and cloud hosting → Top 7 WordPress Hosting More on cloud hosting → What Is Cloud Hosting? Resource Pools, Auto Scaling, Cloud VPS vs. VPS, Pros and Cons Hosting types explained in detail → WordPress Hosting: 5 Criteria for Stability and Speed

🔢 FAQ

A VPS is a virtual server carved out of one physical server, while cloud hosting pools multiple physical servers into a single resource pool. Cloud products sold per virtual server, such as DigitalOcean or Vultr, are also called cloud VPS.

A vCPU is a virtual core. It usually corresponds to one thread of a real core. On a shared VPS that thread is used in turns with other virtual servers, and on a dedicated VPS it is pinned to a single virtual server.

On top of the operating system, you install a web server (Nginx or Apache), PHP, and a database (MySQL or MariaDB), then connect an SSL certificate. You also set up the firewall and backups yourself. A managed VPS is where the provider does this work for you.

First check the pricing table to see whether the plan is Shared CPU or Dedicated CPU. Inside the server, look at the st value in the output of the top command. st is the share of time your virtual server waited while the CPU was given to other virtual servers. If this value stays high, your neighbors are affecting you.

Each virtual server on a VPS is assigned its own IP address. On shared hosting, accounts share an IP address, so if a neighboring account sends spam and the IP gets blocked, your email can be blocked too.

ℹ️ Affiliate Disclosure
This site's content contains affiliate links. When a visitor buys a product or service through one of them, the site receives a commission from the seller. The amount the buyer pays(it goes down during event discounts ↓)does not go up. Posted prices, discounts, and stock reflect the time of writing and may differ, so confirm with the seller before buying. Products are chosen and reviewed by our own standards, and commissions do not affect the order or content of reviews.

Leave a Reply

Your email address will not be published. Required fields are marked *

Prove your humanity: 8   +   5   =