Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 have a netgear VMDG280 router. I have a static IP address. Anyone know how I can configure this router so if I type in my IP address, it shows me the same apache ready webpage as I get when I go to localhost from the browser?

share|improve this question
up vote 3 down vote accepted

Port forwarding is correct, as @Joe pointed out. Here is a link to a help page for your router model. The section you are looking for is...


  • Name: Whatever you want
  • Start Port: Probably 80, unless you want to have to append a :1580 or something to the URL.
  • End Port: Whatever your Apache server is listening on... again, probably 80 unless you changed it.
  • Protocol: Both is fine
  • Local IP Address: IP of the machine your Apache server is running on.
share|improve this answer
I understand that you've said to use Both for the protocol option, but when would it be appropriate to use TCP or UDP? – oshirowanen Jul 19 '12 at 18:37
It depends on the variety of data being transmitted. Different higher level protocols are designed to use one, the other, or both. TCP is used when reliability is the top concern, i.e., the receiver acknowledges receipt of every packet, and the sender waits for that acknowledgement before continuing. UDP is used when speed is the top concern, i.e., no acknowledgments. Here is a nice explanation of the two in comparison. – JoshP Jul 19 '12 at 18:48

You need to forward the port on your router over to the machine with apache installed.
Not knowing the router myself I can only say you will need to direct traffic on port 80 hitting the router to point to the IP address you have assigned to your machine inside your subnet.
A really helpful guide, I find, is at

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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