1

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.

5
  • 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
    Commented Apr 1, 2011 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. Commented Apr 1, 2011 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.
    Commented Apr 1, 2011 at 18:54
  • OK, so after forwarding port 80 to 192.168.1.200, how do I connect 192.168.1.200 with the folder where the website code is? Commented Apr 1, 2011 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
    Commented Apr 1, 2011 at 19:41

1 Answer 1

2

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: http://whatismyipaddress.com
  • 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.

1
  • ...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. Commented Apr 1, 2011 at 20:26

You must log in to answer this question.

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