How to install Multisites on a LEMP droplet with Wordpress installed???

May 14, 2015 2.3k views
MySQL DNS Nginx LEMP WordPress PHP DigitalOcean

I want to add my subdomain for my Wordpress blog, and i can’t install phpmyadmin, so… I think that multisites could be an alternative, but i can’t modify MySQL database because MySQL was installed when i bought the droplet…

1 Answer


I too am running a LEMP. As far as your SQL set up have you created a new user with sudo privileges instead of using “root” every login? If not start with this step first. Following this guide will allow you to create a new sql user and password while protecting your server from mistakenly using root access and creating a mess

After follow this guide for hosting multiple domains in Nginx

It is important you create a directory for each domain preferably using the /var/www/ file set up. This will separate your domains allowing you to install Wordpress on one domain and run an static HTML site on another domain in addition to the ability to add more domains within the same droplet. As far as installing Wordpress I recommend downloading to your sever, extract Wordpress and then copy the files directly into your /var/www/ I used this guide

All in all it took some trial and error but now I am running 2 Wordpress domains and an HTML/CSS domain on one $5 droplet. Hope this helps.

by Justin Ellingwood
When you start a new server, there are a few steps that you should take every time to add some basic security and set a solid foundation. In this guide, we'll walk you through the basic steps necessary to hit the ground running with Ubuntu 14.04.
Have another answer? Share your knowledge.