Ubuntu – “localhost” not default /var/www/html/index/index.html

Apache2

I have just installed apache2. My default file for "localhost" does not seem to be the file that is located in /var/www/html/index/.

To get to that file I have to type in 127.0.0.1: or 127.101.0.1:80 in mozilla.

Keep in mind that I'm very new to this so try keeping the terms fairly simple.

Thanks in advance!

Best Answer

The default DocumentRoot for Apache is /var/www/html/ (without the index/) since Ubuntu 14.04 and /var/www/ in older Ubuntu versions.

Related Question