b. open httpd.conf to your text editor
and find
Code:
#Include conf/extra/httpd-vhosts.conf
then remove # sign so becomes this
Code:
Include conf/extra/httpd-vhosts.conf
then save.
c. while inside the conf folder, open extra folder
and open httpd-vhosts.conf
delete from <VirtualHost *** up to </VirtualHost>
then add this
Code:
<VirtualHost (your LAN IP)>
ServerName (your domain name)
DocumentRoot C:/wamp/www
ErrorLog "C:/wamp/www/gblogs/error.log" <-- this is optional, you can replace gblogs with any folder name
CustomLog "C:/wamp/www/gblogs/access.log" common <-- this is optional, you can replace gblogs with any folder name
</VirtualHost>
like this
Code:
<VirtualHost 192.168.0.120:80>
ServerName gunbound.local
DocumentRoot C:/wamp/www
ErrorLog "C:/wamp/www/gblogs/error.log"
CustomLog "C:/wamp/www/gblogs/access.log" common
</VirtualHost>
after that, if your wampserver is running, left click it on your taskbar and click restart all services, wait until it turn back to green (if your using the new version of wamp) or white (if your using the meter like icon)
Then go to your browser and type your LAN IP or the Server Name.
you should see your WAMP Homepage there using your LAN IP.