Step - 1: Create a directory $ mkdir /home/masud/www/ Step - 2: Open apache2 configuration file $ sudo nano /etc/apache2/apache2.conf