Make WAMP www available on local network

biggles picture biggles · Apr 14, 2011 · Viewed 69.9k times · Source

I know there are questions similar to this, but none address my specific situation.

I have a WAMP server setup for developing some websites, and it's running great. I need it to be available to another computer on my local network via a wireless router. The other computer is actually a Mac, and I only need to be able to view the development sites through a browser (do not need to access phpmyadmin or mySQL).

I am able to access the localhost on which WAMP is running through the browser (the default WAMP page is displayed with links to the site projects) using the IP of my windows machine. Obviously clicking on the links would result in page not found since the URL is relative to localhost, but even if I explicitly type in the url with the IP (http://192.168.2.1/myproject) i still get nothing. (and the url redirects to localhost/myproject even if I type it in as shown)

My host machine has a dynamic IP, but since it is hard-wired to the modem and router the IP does not change unless I reset the router/modem. I can't see this being the problem though since I am able to access the default WAMP page using the IP from the Mac.

Any ideas?

Answer

user2691749 picture user2691749 · Aug 17, 2013

By default httpd.conf have the following settings.

 Deny from all

you have to make the below mentioned changes.

 Allow from all

and make WAMP as a online.

You can access you site by IP address or Computer name from Network.