Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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]?

share|improve this question

migrated from Jun 4 '11 at 2:39

This question came from our site for system and network administrators.

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 '11 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 '11 at 3:24
up vote 1 down vote accepted
  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, 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.

share|improve this answer

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?

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

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

share|improve this answer

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .