Question

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

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… Thanks


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

DIEGO00AQ

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 https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04

After follow this guide for hosting multiple domains in Nginx https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04.

It is important you create a directory for each domain preferably using the /var/www/yourdomain.com/html 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/yourdomain.com/ I used this guide http://www.chanhvuong.com/2068/install-ubuntu-lemp-wordpress-unmanaged-vps/.

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.