How to access the wamp server (localhost) page of my computer, from my android mobile browser
Configure Apache
Now Apache needs to know what to do with these IP addresses, so find the httpd.conf file first, mine was here:
- C:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf
Find the line:
- Listen 80
and change it to add your IP addresses with the port:
- Listen 192.168.2.100:80
- Listen 192.168.2.110:80
Further down in this file you need to configure the access to the directories that host your sites, like this:
- allow from all
- allow from all
Save and close the file. Now find the httpd-vhosts.conf file, mine was here:
- C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf
Here you need to add VirtualHost directives to point the IP address at your folders, like this:
- DocumentRoot "C:/wamp/www/test_website_aaaaaa"
- DocumentRoot "C:/wamp/www/test_website_bbbbbb"
Save and close the file, and restart the Apache service.