I want to share my PHP App running on WAMP with my friends from my Home PC,
Is there any way?

As every PC has an unique IP Address can that be used in any way to act like a server [a tiny one]?

  • 1
    Read the FAQ, please. ServerFault is for professional sysadmins. This will get automatically migrated over to SuperUser, so please do not post a duplicate question there.
    – EEAA
    Jun 4, 2011 at 2:29
  • By default, in a typical home environment, all computers have a unique IP, what is important is whether they are public or private and if they are static. Chances are you just need to set up port forwarding on port 80 to whatever computer is running WAMP and your friends can then connect to your public IP to see your PhP app.
    – MaQleod
    Jun 4, 2011 at 3:24

4 Answers 4

  1. Register a domain name (it's about $10/year). I would use Namecheap over GoDaddy.

  2. You are probably on a "dynamic" IP address which can change day-to-day (vs a static IP which does not change). You'll need to get a Dynamic DNS client from someone like no-ip.com, then set your domain's DNS to use the no-ip's nameservers, and run the no-ip client on your system which will sync your domain name with your changing IP address.

  3. You'll need to "port forward" port 80 WAN (outside) to LAN IP of system, that way requests coming in are forwarded to your system... But you only have to do this if you have a router.

  4. Windows has a Firewall application that will block incoming port 80 (the HTTP port). You'll need to unblock that port.

  5. There are different WAMP packages. Some are better than others. WampDeveloper Pro is the one I use. It's commercial grade designed for production. Some of the others that are free and mostly for testing are Xampp and WampServer.


You could set up a lightweight webserver package for Windows like xampp. Then, you can configure xampp to be accessible to outside devices (by default it only responds on localhost, but you can change that easily in its settings interface). You'd then need to configure your router to forward port 80 to the correct computer, if you have a router.

This question here on SU also have a lot of information: What is port forwarding and what is it used for?

  • how to do these steps configure your router to forward port 80 to the correct computer, ?
    – Sourav
    Jun 4, 2011 at 5:11
  • This depends on your particular router brand and model - there are a lot of guides at portforward.com.
    – user55325
    Jun 4, 2011 at 5:17
  • If you follow the link... it's a link to portforward.com. Jun 4, 2011 at 6:01
  • Haha. I can't believe I forgot to link to that other question. I wrote half of that answer. >.< Jun 4, 2011 at 19:58

Try localtunnel or showoff.io -- they were designed for exactly this purpose ("the easiest way to share localhost web servers to the rest of the world").


You can install Xampp on a separate box. Set the IP address as fixed like . Then the other local computers can use it. In the browser address line put . Here is a link to the Lite version. http://download.cnet.com/XAMPP-Lite/3000-10248_4-75157363.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.