I have two droplets active, in both of theme I have wordpress installed.
In one of them I follow this tutorial to instal LAMP and WordPress. This tutorial says: " …The location of the document root in the Ubuntu 14.04 LAMP guide is /var/www/html/. We can transfer our WordPress files there by typing:…" So I have my wordpress files under var/www/html
But in the other droplet I follow this other tutorial to install wordpress through one click WordPress install, and this installed wordpress files on var/www.
I have read on google that on ubuntu 14.04 the root directory have been moved from var/www to var/www/html. Is digital ocean wordpress one click install adding files on incorrect directory? I should move my files from var/www to var/www/htmll?
Thanks in advance!
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!
The One-Click Wordpress installs Wordpress in /var/www and sets DocumentRoot to /var/www instead of /var/www/html (see /etc/apache2/apache2.conf – the virtual host should be at the very bottom of the file), so you should store your files in /var/www.
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.