How to change apache web server document root in ubuntu

  • Post last modified:July 27, 2016
  • Post category:Linux
  • Post author:

The default Apache2 web server document root is /etc/www/html. This can be sometimes annoying because of permission issues. You can change the default apache web server document root folder to a new folder in your Home folder.

Change apache web server document root in ubuntu

Here my Apache version: 2.4.18 (Ubuntu 16.04)

To change the default Apache2 web server document root ie: /etc/www/html/ to any other folder in Home folder ie: /home/manikandan/www/
(more…)

Continue ReadingHow to change apache web server document root in ubuntu