By DIEGO00AQ
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
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.