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 need to configure my home router so my localhost website can be seen by the world. I just need to configure the router because the paypal api's will not work with my localhost if paypal cannot get to my site.

Can someone please help me configure it?

I have a Linksys BEFSR41.

share|improve this question
If you want to configure it "so my localhost website can be seen by the world." Then how does "The website is not intended for the world to be seen" work? – paradd0x Apr 1 '11 at 18:52
It will be seen by the outside world, what I meant was, it will not be a production server for the world to use. – oshirowanen Apr 1 '11 at 18:54
Ideally, you should be able to go to the firewall section and open port 80 and send it to your IP address. If this is residential, it will likely not work though as most ISPs block websites for residential. You may need another port. – Jeff F. Apr 1 '11 at 18:54
OK, so after forwarding port 80 to, how do I connect with the folder where the website code is? – oshirowanen Apr 1 '11 at 18:56
You should have web server software installed on your computer that allows you to go to the folder and place the files there that are public. In Linux for example, it is in /var/www/ – paradd0x Apr 1 '11 at 19:41
up vote 2 down vote accepted

Things to do:

  • Install web server software on your computer if you haven't already. Apache is probably your best bet.
  • Set a static ip address on your server. This technically isn't necessary, but it's smarter.
  • In the BEFSR41 use the NAT settings to forward port 80 to your statically configured IP address. Port 443 for HTTPS.
  • At this point your website will be accessible by browsing to your public-facing ip address. You can find it by going to:
  • You'll probably want to set up some sort of dynamic IP address updater.

That said, you're probably better off with a hosting account, but I can't really advise that well without knowing more what you're trying to accomplish.

share|improve this answer
...and welcome all the viruses and hacking attempts attracted by an open port on a residential connection. :) I'm with emgee: There are plenty of really inexpensive web hosting services out there that'll host pretty much anything (legal, that is) with minimal work configuring on your end. – music2myear Apr 1 '11 at 20:26

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.