George Udosen Asked: 2015-10-11 13:02:13 +0800 CST2015-10-11 13:02:13 +0800 CST 2015-10-11 13:02:13 +0800 CST Where is apache web root directory on Ubuntu? [duplicate] 772 On Ubuntu Trusty, which is the apache root directory for web pages? apache2 1 Answers Voted Best Answer Florian Diesch 2015-10-11T20:23:45+08:002015-10-11T20:23:45+08:00 The default document root for Apache is /var/www/ (before Ubuntu 14.04) or /var/www/html/ (Ubuntu 14.04 and later). See the file /usr/share/doc/apache2/README.Debian.gz for some explanation on how the Apache configuration on Ubuntu is done.
The default document root for Apache is
/var/www/
(before Ubuntu 14.04) or/var/www/html/
(Ubuntu 14.04 and later).See the file
/usr/share/doc/apache2/README.Debian.gz
for some explanation on how the Apache configuration on Ubuntu is done.