Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make WAMP www available on local network

Tags:

ip

wamp

lan

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?

like image 827
biggles Avatar asked Apr 14 '11 00:04

biggles


People also ask

How do I make my WampServer accessible on local network?

Find the internal ip of the computer that is running WAMP at what is my local IP? and update as shown below. Replace “192.168. 1.101” with the internal IP of the machine running WAMP. You should now be able to access your WAMP website through your local network.

How do I put WampServer online?

It can be done in an easier way by just clicking on the green WampServer tray icon and choosing “Put Online”.


1 Answers

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.

like image 144
user2691749 Avatar answered Oct 02 '22 22:10

user2691749