View Full Version : [ubuntu] port fowerding local web server
June 19th, 2008, 05:18 AM
so ill make this brief im trying to set up a web server off of my computer that's at home, i have everything installed on ubuntu that i need to to run it however. my external ip is 126.96.36.199 and i have my router set up to froward ports 80-89 to my local ip 192.168.1.108 but i dont know the address i need to put into a computer on another network to get to my local web server. everyone ive asked about this doesnt know and google has been to no assistance do you know what to do here?
June 19th, 2008, 11:37 AM
first off - you only need to forward ports 80 and 443 (http and https). 81-89 are not necessary for a web-server.
The easiest way to always have a home server running is to get yourself a hostname that is held active by your computer. I, personally, use no-ip.com for that, but any will do (others are dyndns, etc).
Once you have the hostname, lets say example.no-ip.org, you can then give out that name to others to connect to your webserver. Also, note that you will need to distinguish between internal and external access. While the internal access will work through your internal ip and NOT via the no-ip hostname, the access from the internet will ONLY work via the no-ip hostname. The reason behind this is that normal routers do not allow port forwarding from internal to internal - only from external to internal.
hope it helps (a little) :)
June 19th, 2008, 12:33 PM
you should be able to access using the static ip you mentioned 72.x.x.x.x .. but as spaceteddy said its better to register with a service like no ip which is free.. here's how you set it up http://prash-babu.blogspot.com/2008/05/how-to-setup-no-ip-on-your-computer.html
June 20th, 2008, 06:35 AM
thank you so much it was a great help what was stoping it was i didnt have the other port unblocked
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.