By info686413
I have a 1Gig droplet that I setup with the one-touch WordPress creation, using Ubuntu 14.04…question is, can I setup Virtual Hosts according to the tutorial on here while leaving the current WP site in the root? Or, do I have to start a new droplet and port that WP website into a Virtual Host of it’s own?
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!
You definitely can add virtualhosts to the One Click WordPress droplet. You might have to move WordPress from /var/www so the virtualhosts don’t conflict:
mv /var/www /var/www-wordpress
mkdir /var/www
mv /var/www-wordpress /var/www/wordpress
and update /etc/apache2/apache2.conf and set DocumentRoot to /var/www/wordpress instead of /var/www. Finally, restart Apache2:
service apache2 restart
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.