How to make WAMP accessible over the internet?

I'm using Wampserver 2.5 64bit on window 7, and this is what I found:

//You need to find this

# Controls who can get stuff from this server. #
# onlineoffline tag - don't remove
Require local

then change to

# Controls who can get stuff from this server. #
# onlineoffline tag - don't remove
Require all granted

Then you can access your site via LAN IP address. For example http://192.168.2.7/.

However, this may cause a bug that makes Wampserver can not be restarted.


In Windows Firewall, allow inbound connections through port 80. Then you may need to configure port forwarding on your router to forward inbound connections to your PCs local IP address. After you have done that, just give them your public IP address and they should be able to browse to your site. I can't give you very specific instructions for the port forwarding, because its different for almost every router, but this website should help: http://portforward.com/