Report this

What is the reason for this report?

What is the correct folder to put my website files, var/www or var/www/html?

Posted on November 7, 2014

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!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.