LinuxBabe Community

How to host wordpress in a Ubuntu that already has Modoboa

Hi all… I just finish setup email servers by follow these tutorial

  1. Modoboa Email Server setup
  2. Modoboa Multiple Domain

Its work perfect with two mail service domains, eg…
domain 1

domain 2

How can I setup wordpress listen to domain1.com and domain2.com within the same server so I can use it for my websites?

After installing Modoboa, you need to install LEMP stack.

How to Install LEMP Stack on Ubuntu 20.04 Server/Desktop

Then install WordPress on top of the LEMP stack.

Install WordPress on Ubuntu 20.04 with Nginx, MariaDB, PHP7.4 (LEMP)

To install multiple WordPress sites, simple follow the WordPress tutorial again for the second domain.

PS: If you run WordPress and Modoboa on the same server, it’s recommended to use a server with at least 4GB RAM.