Setting up WAMP to run on a LAN

Posted by Steve on Server Fault See other posts from Server Fault or by Steve
Published on 2012-09-24T05:23:36Z Indexed on 2012/09/24 9:39 UTC
Read the original article Hit count: 278

Filed under:
|

I've installed WAMP on a Windows 7 PC, and it is running fine locally, as localhost.

I want PCs on the LAN to be able to view the local server. When they load my PC's IP address in their browser, they receive a "You don't have permission to access / on this server" error.

I followed this guide, but the issue remains. To recap:

  • I've added an inbound exception to Windows Firewall for port 80 for Private and Domain connections.
  • I've edited Apache's httpd.conf to include:

    Listen 80

    Listen 192.168.0.5:80

    < Directory "c:/wamp/www/wordpress/" > allow from all < /Directory >

  • I've edited httpd-vhosts.conf to include:

    < VirtualHost 192.168.0.5:80 > DocumentRoot "C:/wamp/www/wordpress" < /VirtualHost >

Any ideas?

© Server Fault or respective owner

Related posts about wamp

Related posts about lan