What is the correct folder to put my website files, var/www or var/www/html?
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!
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.×