Top.Mail.Ru
English
Websites

How to choose a VPS for WordPress: resources, setup and security

A good WordPress server is not simply the plan with the most RAM. Match the CPU, storage and software stack to the site's real workload, then leave enough headroom for traffic spikes, updates and backups.

WordPress VPS architecture with a web server, PHP, database and backups
In this guideWhen to moveResourcesSoftware stackPerformanceSecurityFAQ

When WordPress genuinely needs a VPS

Shared hosting remains adequate for a small, predictable site. A VPS becomes useful when you need a specific PHP version or extension, several isolated sites, scheduled workers, a persistent object cache, predictable resources or access to server logs and configuration. It also makes sense when a store or membership area contains many requests that cannot be served from a page cache.

Do not migrate only because a synthetic score looks poor. First identify whether delays come from the server, a heavy theme, third-party scripts, images or slow database queries. A larger VPS cannot repair inefficient application code.

How much CPU, RAM and storage WordPress needs

WorkloadSensible starting pointPriority
Small blog or company site1–2 vCPU, 2 GB RAM, 20–30 GB SSD/NVMePage cache, backups and free disk space
Several WordPress sites2 vCPU, 4 GB RAM, 40–60 GB NVMeSeparate PHP pools and monitoring
Busy content project2–4 vCPU, 4–8 GB RAMStable CPU, cache and CDN
WooCommerce or member portal4 vCPU, 8 GB RAM as a baselineDatabase, uncached requests and workers

Choose recent, fast CPU cores rather than comparing vCPU count alone. Keep at least 20–30% disk free for updates, logs and temporary backup archives. NVMe is valuable for a dynamic site and database, but consistent performance matters more than the label.

A practical software stack

Nginx or Apache can both run WordPress reliably. Nginx is often used as the public web server; PHP-FPM executes PHP, while MariaDB or MySQL stores content. Redis can provide an object cache, but it is not a substitute for page caching or query optimisation.

What actually makes WordPress faster

Start with full-page caching for anonymous visitors, optimise images, remove unused plugins and measure slow database queries. Use a CDN for static assets when visitors are geographically distributed. WooCommerce carts, accounts and checkout pages require special cache exclusions, so test the complete purchase flow after every change.

Measure before upgrading. Watch CPU saturation, memory and swap, PHP worker queues, database latency and p95 response time during peak traffic. Upgrade the resource that is consistently exhausted.

Security, backups and monitoring

Disable password-based SSH access, restrict administrative ports, keep WordPress and plugins updated, and grant the web process only the permissions it needs. Back up the database and uploaded files to storage outside the VPS. A provider snapshot is useful for fast rollback, but it is not the only backup. Regularly test a restore on a clean host.

Frequently asked questions

Is 1 GB RAM enough?

A minimal site can run in 1 GB, but updates, a backup or a traffic burst can exhaust it. For a production site, 2 GB is a safer starting point.

Does WordPress need a separate database server?

Usually not at first. Split it only when measured load, independent scaling or availability requirements justify the extra complexity.

Do I need a control panel?

No. A panel simplifies certificates, PHP and site management, but adds cost, resource use and another component to maintain.

Can I migrate without downtime?

Usually: prepare and test the copy first, lower DNS TTL, then perform a final data sync. Stores may need a brief maintenance window. Follow our VPS migration guide.

Find a VPS for WordPressSet your minimum resources and location, then compare the full recurring price.
View WordPress VPS plans

Next: a practical VPS security checklist.