A virtual private server gives a WordPress site resources nobody else can use, and control over how the server is set up. The catch is that a VPS starts as a bare operating system: no control panel, no web server, no backups. CyberPanel fills that gap. It’s a free control panel built on OpenLiteSpeed, a fast web server, and it’s what I use to set up and run VPS servers for WordPress.
Here’s what to know before you start, the setup in order, and what keeps the server healthy afterwards.
Before you start
- A VPS with enough memory. CyberPanel’s minimum is 1 GB of RAM. For WordPress and its database, 2 GB or more is more comfortable, and a store or several sites need more.
- A fresh, supported Linux install. Install CyberPanel on a clean server, not one that already runs other software. Check CyberPanel’s documentation for the currently supported versions; Ubuntu LTS and AlmaLinux are common choices.
- Root or sudo access over SSH, and the server’s IP address.
- Access to your domain’s DNS, so you can point the domain at the new server.
- A plan for email. Mail sent straight from a web server often lands in spam, so decide early whether you’ll use a transactional email service instead.
The setup, in order
- Point the domain. Add an A record for the domain, and for
www, pointing at the server’s IP. DNS can take a while to update, so do this first. - Install CyberPanel with the official install script and follow the prompts. Choose OpenLiteSpeed unless you have a LiteSpeed Enterprise licence.
- Log in to the panel, which runs on port 8090, and change the admin password straight away.
- Create the website in CyberPanel for your domain.
- Issue an SSL certificate. CyberPanel can request a free Let’s Encrypt certificate once the domain points at the server.
- Install WordPress. CyberPanel’s one-click installer can set up WordPress together with the LiteSpeed Cache plugin.
- Configure LiteSpeed Cache. Turn on page caching, then work through the image and CSS/JS settings one at a time, checking the site after each change.
Lock it down
- Use SSH keys and turn off password logins for SSH.
- Turn on the firewall and open only the ports you need.
- Protect the panel with a strong, unique password and two-factor authentication. If your own IP address doesn’t change, limit access to port 8090 to it.
- Keep everything updated: the operating system, CyberPanel, WordPress, themes and plugins.
Backups that actually work
Set up automatic backups to somewhere other than the server itself, such as remote storage, so a failed disk or a hacked server doesn’t take the backups with it. Then test a restore. A backup you’ve never restored is a guess.
Email that arrives
For contact forms and order emails, send through a transactional email service over SMTP rather than the server’s own mail. Add the SPF, DKIM and DMARC records the service gives you to your DNS, so mailboxes trust the messages.
When not to run your own VPS
A VPS is only as safe as the person maintaining it. If nobody will apply updates, watch disk space and check backups, managed WordPress hosting is the safer choice. I compared the options in how to choose hosting for a WordPress site.
Need a hand?
I set up and look after VPS servers with CyberPanel, including migrations, SSL, backups and performance tuning: see server management. If you still need a server, the hosting deals page lists the providers I recommend, with any current discount (affiliate links).