January 30, 2024

Hosting multiple WordPress sites on a single VPS - the easy way

I’m managing multiple WordPress websites that were hosted in different ways. I use them for personal blogs (such as ribic.ba), personal projects and local portals. I was looking for a way to host and manage them easily on a single VPS - and found EasyEngine to be a perfect solution for my needs.

There are multiple ways to host WordPress sites. You can use a managed hosting provider such as WordPress.com, use solutions like cPanel or Plesk that come pre-installed on most shared hosting providers, use a one-click installer offered by DigitalOcean, Hetzner etc.

As I wanted to host and manage multiple WordPress sites on a single VPS, I stumbled upon EasyEngine. EasyEngine is a command line tool that allows you to easily install and manage WordPress sites on a single VPS. It’s free and open source, and it’s really easy to use.

Installing EasyEngine is really easy. You can find the installation instructions here. In short:

wget -qO ee rt.cx/ee && sudo bash ee

sudo ee site create ribic.ba --wp

The first command will download and install EasyEngine, and the second command will create a WordPress site with the domain ribic.ba. You can also use the --letsencrypt flag to automatically install a free SSL certificate from Let’s Encrypt.

EasyEngine will automatically install and configure Nginx, PHP, MySQL and other dependencies. It will also create a new MySQL database and user for your WordPress site. You can find more information about the site create command here.

2018 © Emir Ribic - Some rights reserved; please attribute properly and link back. Code snippets are MIT Licensed

Powered by Hugo & Kiss.