Assuming that wamp is fully functional with all services
running intact we can continue with the IP based virtual host creation with wamp-apache
for internal LAN network.
This setup has been done for machine with multiple IP
address each need to be assign for different virtual sites.
Firstly, we need to enable and configure virtual host in
wamp-apache which can be done by enabling it in httpd.conf located in “C:\wamp\bin\apache\apache2.2.22\conf”
folder. You just need to delete the hash (#) infront of the line shown below.
Also, for external network to access your virtual web root
directory you need to give access permission which can be done as shown below
in the httpd.conf file.
Now go to “C:\wamp\bin\apache\apache2.2.22\conf\extra”
folder and edit the httpd-vhosts.conf file as shown below.
The above virtual host has been configured on port 80 assuming Apache in wamp is configured on the same
port.
Finally modify the firewall rules to allow access to port 80 for the networks.
Finally modify the firewall rules to allow access to port 80 for the networks.