Changing the Root Directory on Ubuntu 15.04

In this post I am going to show you how to change your root directory in Ubuntu 15.04. If you further want to know about root directory read my blog What is Root Directory. If you are comfortable with then let’s get started with out wasting time any more!

Step 1: Opening the ‘default.conf’ File

The path for our root directory is specified in 000-default.conf file. Open your 000-default.conf file from /etc/apache2/sites-availale/ by running the following command:

sudo gedit /etc/apache2/sites-available/000-default.conf

Continue reading

Advertisements