Skip to content
PN Scripts

VPS

Types of web hosting explained: shared, VPS, dedicated and cloud

  • PN Scripts
  • 7 min read

The six common types of web hosting are shared, reseller, semi-dedicated, VPS, dedicated and cloud hosting. They differ in how many customers share the hardware, how much control you get over the server and who keeps it running. Shared hosting is the simplest and cheapest, a dedicated server gives you a whole physical machine, and cloud hosting lets you add or remove capacity when you need it. The right type depends on what your software needs, how its load changes and whether anyone on your side can run a server.

#What separates one type of hosting from another

Three questions explain almost every difference between hosting types, and the price follows from the answers:

  • Isolation. Do you share resources with other customers, get a reserved slice of a machine, or have the whole machine?
  • Control. Do you manage the account through a control panel only, or do you have root access to install and configure anything?
  • Responsibility. Who updates the operating system, configures the web server, applies security patches and notices when something breaks?

As you move from shared hosting towards dedicated servers and the cloud, isolation and control go up, and so does the work you or someone you hire must do.

#Shared, reseller and semi-dedicated hosting

These three are managed hosting in the plain sense of the word: the provider runs the server, and you work through a control panel.

Shared hosting

Many customer accounts run on one server and share its CPU, memory and disk within limits the provider sets. You get a control panel, email on your domain, databases and usually an installer for WordPress and similar systems. It suits company sites, blogs, portfolios and small shops. The trade-offs are shared resources, no root access and no long-running background processes. For a full explanation, read what shared hosting is and what a plan includes.

Reseller hosting

Reseller hosting is a shared hosting account with the right to divide it into separate accounts, each with its own control panel login. Providers that use cPanel usually give resellers WHM, the administration tool that creates and limits those accounts. It suits web designers and agencies that host their clients' sites and want to bill for hosting themselves. The trade-offs: the accounts still live on a shared server with shared limits, and you become the first person your clients call when something goes wrong, even when the cause sits with your provider.

Semi-dedicated hosting

Semi-dedicated hosting is shared hosting with fewer accounts on each server and higher resource limits for each account. The provider still manages the server and you still work through a panel without root access. It suits busy sites that keep reaching shared hosting limits but need no custom server software, such as a large WordPress site or a growing online shop. Providers use the term differently, so compare the actual CPU, memory and process limits instead of the name.

#VPS and dedicated servers

VPS hosting

A VPS (virtual private server) is a virtual machine on a physical server, with its own operating system and a fixed allocation of CPU, memory and disk. With KVM virtualization each VPS runs its own kernel, so it behaves like a separate computer. Container-based virtualization shares one kernel between servers and gives weaker isolation. You get root access and can install queue workers, a specific PHP or Node.js version, a search engine or anything else the application needs.

A VPS suits custom web applications, APIs, staging servers and sites that have outgrown shared limits. The trade-off is maintenance. On an unmanaged VPS you handle updates, security, backups and monitoring yourself. A managed VPS costs more because the provider takes some of that work. The article shared hosting or VPS: when to move and how lists the signs and the migration steps.

Dedicated servers

A dedicated server is a whole physical machine rented to one customer. Nobody else uses its processor, memory or disks, so performance is predictable and isolation is complete. It suits large databases, high-traffic sites, workloads that need a lot of memory or disk, and projects whose security rules require a server used by no one else. The trade-offs are the highest fixed cost of the traditional types, full responsibility for the operating system, and slower scaling: adding capacity usually means upgrading or ordering hardware, and recovery from a hardware fault depends on how quickly the provider replaces parts.

#Cloud hosting

Cloud hosting runs your servers on a large pool of shared hardware, where you create and remove virtual machines, databases and storage on demand and usually pay for what you use. Amazon Web Services, Google Cloud and Microsoft Azure are the best-known public clouds. Many smaller providers also sell ordinary VPS plans under the name cloud, so ask what the plan actually offers.

Real cloud hosting suits applications with changing load, such as a shop with seasonal peaks, and systems built to run on several servers behind a load balancer. Managed databases, object storage and automatic scaling save work that you would otherwise do on a VPS. The trade-offs are cost and complexity. Usage-based bills are harder to predict, outgoing data transfer is often charged separately, and the number of services and settings needs someone who knows them. A badly configured cloud setup can cost more and be less secure than a single well-run VPS.

#Comparison of hosting types

TypeHardwareServer accessWho runs the serverTypical fit
SharedShared with many accountsControl panelProviderCompany sites, blogs, small shops
ResellerShared, split into client accountsPanel plus account administrationProvider, with you supporting your clientsAgencies and web designers
Semi-dedicatedShared with fewer accountsControl panelProviderBusy sites without custom software
VPSReserved slice of a machineRoot accessYou, or a managed planCustom applications, APIs, staging
DedicatedA whole physical machineRoot accessYou, or a managed planHeavy databases, high traffic, strict isolation
CloudLarge pool, billed by useRoot access and provider toolsYou, with managed servicesVariable load, multi-server systems

#How to choose for your project

  1. Start from the software. List what the application needs to run: the language and version, the database, background workers, scheduled tasks and any system packages. If it all fits within a control panel, shared hosting is a candidate.
  2. Look at the load. Steady, moderate traffic suits shared or semi-dedicated hosting. Heavy but predictable load suits a VPS or a dedicated server. Load that rises and falls sharply is where the cloud earns its complexity.
  3. Decide who runs the server. If nobody on your side will patch and monitor a server, choose a managed option or pay someone to do it. An unmaintained VPS is a security risk.
  4. Keep the exit open. Choose a setup where you can export full backups, and register domains in your own name so you can move between hosts without losing them.
  5. Buy for the next year. Moving up a level later is routine. Paying for capacity you may need in five years wastes money now.

#How PN Scripts can help

PN Scripts Hosting offers shared hosting, KVM VPS with root access and dedicated servers, plus domain registration, so a project can start on shared hosting and move to a VPS or a dedicated server with the same company. On a KVM VPS you choose Hepsia, cPanel or no control panel when you order. You can compare the options on the hosting plans page.

Comments

Comments

No comments yet. Ask a question or share what worked for you.

Leave a comment

shown with your comment; a nickname is fine
optional; only for reply notifications, never shown
Plain text with **bold**, *italic*, `code`, > quotes and links.

Next step

pnscripts.com/contact

Talk to the team

Ask about an article, or tell us about a project you want built. We reply within one business day.

Write to us

The PN Scripts family

Other PN Scripts sites

Hosting, games and the blog each have their own site, run by the same company.

  • pnscripts.com

    PN Scripts

    Software engineering

    Custom web, mobile and API development, plus our open-source products and plugins.

  • games.pnscripts.com

    Games

    Games and game servers

    The home for PN Scripts games: free browser games you can play right now, with game servers coming soon.

  • hosting.pnscripts.com

    Hosting

    Hosting and infrastructure

    Shared hosting, KVM VPS, dedicated servers and domains, from the same company that builds your project.

  • blog.pnscripts.com

    Blog

    Articles and field notes

    Practical articles on software development, hosting, open source and games, written with AI assistance and checked by the people who build them.

    You are here