Create a webroot directory in /var/www .. Eg : /var/www/dh Create a file in sites-available.  /etc/apache2/sites-available File contains <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName dhanesh.com ServerAlias www.dhanesh.com DocumentRoot /var/www/dh <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/dh> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, […]

Categories: personal