Skip to main content

How to Access WampServer from another Computer in A LAN


In this tutorial, you will learn on how to access your web server from another computer in your Local Area Network. This is specific to WampServer. However, you can also use this tutorial on other application similar to WampServer. The point on this tutorial is on how to change the configuration of httpd.conf to allow other computer to connect to your localhost where Apache is being installed.

By default, Apache does not allow other computer to connect to the server where Appache is installed.

A “Forbidden - You don't have permission to access / on this server” is returned when you access your server from other computer.

To fix this problem, please follow the steps below:

Open httpd.conf as shown in the screenshot below.

Under "Controls who can get stuff from this server", change "Deny from all" to "Allow from all".

Now, try to access your computer from other computer in your Local Area Network. Be sure to access your computer using your LAN IP Address.

The IP Address of your computer should look like below.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Submitted byAnonymous (not verified)on Thu, 03/21/2013 - 13:54

you can do this in wireless by connecting to a wireless networking and type the IP of the computer server (xampp server) and the name of the folder

Submitted byAnonymous (not verified)on Fri, 05/17/2013 - 18:41

More easier way is to click "Put Online" Option, rather than editing httpd.conf ;)

Submitted byD (not verified)on Tue, 01/07/2014 - 08:53

This works perfect, well done and thank you.

Submitted byGanesh das (not verified)on Tue, 01/28/2014 - 12:18

It worked like a charm
thanks a ton, I connected to my xp wamp from my ubuntu browser,
now how can I share files or access the www folder from ubuntu to xp, this way I can share files between two system can you guid?

Submitted byKasonde Kembani (not verified)on Sun, 03/30/2014 - 20:39

But why do most people complicate things? this is 101% simple and precise. Thanx, it worked great!

Submitted byronniebuterabacathy (not verified)on Thu, 06/26/2014 - 14:44

steady but I couldn't access the source

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.