How to enable local network users to access my WAMP sites?

 WAMPServer 3 there is a Virtual Host defined by default. Therefore the above suggestions do not work. You no longer need to make ANY amendments to the httpd.conf file. You should leave it exactly as you find it.

Instead, leave the server OFFLINE as this funtionality is defunct and no longer works, which is why the Online/Offline menu has become optional and turned off by default.

Now you should edit the \wamp\bin\apache\apache{version}\conf\extra\httpd-vhosts.conf file. In WAMPServer3.0.0 and above there is actually a menu that will open this file in your editor

Now simply change the Require parameter to suite your needs

Require local Replace with Require granted all


Require local Replace with  Require granted all

If you want to allow access from anywhere replace Require local with

Require all granted

If you want to be more specific and secure and only allow ip addresses within your subnet add access rights like this to allow any PC in your subnet

Require local
Require ip 192.168.1

Or to be even more specific

Require local
Require ip 192.168.1.100
Require ip 192.168.1.101

go to... C:\wamp\alias

How to enable local network users to access my WAMP phpmyadmin

Inside alias folder, you will see some files like phpmyadmin,phpsysinfo,etc..

open each file, and you can see inside file some commented instructions are given to access from outside, like to give access to phpmyadmin from outside replace the lines

go to... 
D:\wamp\alias

Require local

by

Require all granted

You must have the Apache process (httpd.exe) allowed through firewall (recommended).

Or disable your firewall on LAN (just to test, not recommended).

Example with Wamp (with Apache activated):

  1. Check if Wamp is published locally if it is, continue;
  2. Access Control Panel
  3. Click “Firewall”
  4. Click “Allow app through firewall”
  5. Click “Allow some app”
  6. Find and choose C:/wamp64/bin/apache2/bin/httpd.exe
  7. Restart Wamp

Now open the browser in another host of your network and access your Apache server by IP (e.g. 192.168.0.5). You can discover your localhost IP by typing ipconfig on your command prompt.

It works

Leave a Comment