Now we have setup two virtual host using name-based virtual hosting,
The * match all addresses, so the main server serves no requests, 80 is the default port for httpd, so all the request are handled by http.
ServerAdmin - The email address for the admin of the host. DocumentRoot - The document path where the web files of the host are maintained ServerName - The host name. ServerAlias - An alias for your host name. ErrorLog - Path for the error logs written. CustomLog - Path for the access logs written.
To enable virtual host the following things should be verified on httpd.conf file,