Three quick and simple steps to set up a virtual host:
Step-1: Open the apache conf file. Location of this depends upon the location of your server. Possible location of this file is “/etc/httpd/conf/httpd.conf” or “/etc/apache2/httpd.conf”.
Step-2: Add following settings:
<VirtualHost IP Address:Port(80)> DocumentRoot location of your side root ServerName host name ServerAlias *.host name [...]
