How to Setup a WAMP Server

Share This:

The easiest way to setup a WAMP (Windows, Apache, MySQL, PHP)  Server is to download the WAMP Server package. It is 100% free to download, and use. It also is Open Source so feel free to make changes as you wish.

Once you have downloaded the WAMP Server package. Simply click on the installer and it will start up. Follow the instructions on the Wizard and when your done. You’ll have a WAMP Server. This usually takes a matter of just few minutes to do.

When the installation is finished you will be asked if you want to start the WAMP manager. Choose yes. Then you can test it out by typing localhost into your web browser. You should see the WAMP default installation page.




After you have tested on your local machine by typing localhost into your browser you may want to test it on another machine on your network. To do this you will type the IP address of the WAMP server into the browser of another device .

To find out what the IP address of your WAMP server is. Open up the Windows Command Prompt on your WAMP server.

Windows XP and Earlier

Start > Programs > Accessories > Command Prompt

Windows Vista & Newer

Type cmd in the search field of the Windows Start menu.

Once the Command Prompt is opened type the following.


ipconfig

Then press ENTER.

After you have done the above command you will see similar out put to the following.


Connection-specific DNS Suffix . : hvc.rr.com
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

The above tells us that our WAMP Server has the IP Address 192.168.1.100. So this is what we will type into our web browser on another device on our network. If all goes well you should see the WAMP test page again.




Next we will want to test it out on a device outside of our network. This means we will need to know the external IP Address of our WAMP Server. The easiest way to fine this out is to go to the IP Chicken website. It will tell you what IP address to use.

If you can see the WAMP Servers test page on a device outside of your network then you know everything is working as you expect.

Troubleshooting, Tips & Advice

After the installation the WAMP installer ask you what browser you are using. Some people may think that what they talking about is your File Browser known as Explorer. Others may think they are talking about the Web Browser such as Internet Explorer or Firefox. What WAMP needs is the File Browser not the Web Browser.

I’ve tried installing WAMP on Virtual Box, with several different configurations of the Virtual Machine. Each time the installation failed. So please try to install on physical machine.

If you see the WAMP test page on the web browser on the WAMP server but not on a device in your network. This is most likely because of the firewall settings on your WAMP server. You will want go onto your WAMP Server and tell the WAMP Servers firewall to stop blocking the following ports.

Port 80 (HTTP)

Port 8080 (HTTPS)

Port 3306 (Port used by MySQL)

After those ports are unblocked it is good practice to restart the WAMP Server.

If you see the WAMP test page on your WAMP Server and on a device on your network but you can’t see it on device outside of your network then you need to tell your router to unblock the following ports.

Port 80 (HTTP)

Port 8080 (HTTPS)

Port 3306 (Port used by MySQL)

You can find out how to access your router by typing in the command prompt ipconfig. In the above example we see that the routers IP address known as the Gateway IP Address is 192.168.1.1 so we will need to open our web browser up and type that address into it. Depending on what router you have the default user name and password to access it will vary.