On Nov 12, 2007 12:59 PM, Kenneth Gonsalves lawgon@au-kbc.org wrote:
On 10-Nov-07, at 7:28 PM, Aman Mathur wrote:
- Is this ip address of mine a static ip address ?. If not , then why
does it stay the same all the time ?
In the first place, please put a meaningful subject line - this is not a Triband Query, it is a question of hosting a website with a dynamic IP. You do not have a static IP. The router you use has an internal IP - 192.168.1.x or something, and you are on the same lan as that. So your IP is also 192.168.1.y. The router has an external IP which will change each time you reconnect to the net.
- If I want to host my website on my computer which anyone on the
internet can access, how do i go about it ? . I have some basic idea of port forwarding and read some of the tutes on www.portforward.com, which were really informative, but im still not sure how i can host a website on my computer which anyone can access.
If you do port forwarding, your site will appear on the dynamic IP you have got. Which means that the IP of your site will change everytime you reconnect. Which means that you cannot host a domain on the site since no dns service will service a dynamic domain. You would probably also get the IP blacklisted for hosting on a dynamic ip. For your friends, you can do port forwarding and phone them to tell them which IP they need to go to.
Now, that is not entirely accurate. Hosting a site on a dynamic IP is not a problem at all. There are even a number of DNS Service Providers who will host your domain for you(The one that i Personally use is DynDNS, both the free x.dyndns.org zones and the paid x.com zones). The only place where you will have a problem is if you intend to run a Mail server. That will mean your IP will be blacklisted by other mail servers for being dynamic, and you will not be allowed to relay/forward any mail. But if all you want to do is host a website, go right ahead. get onto dyndns, and use a client like ddclient(if on fedora, available via yum, also available on other distros through the equivalent repositories i'm sure...) to keep it updated whenever your ip changes due to a re-connect. then your friends will only have to remember the name, and no matter what your ip is at the time, they can connect to your site, as long as your system is on, the net connection is up, and ddclient has updated the dynamic dns record. And Dont worry, AFAIK no-one will blacklist your site just because it's dynamic, and if they do, there will probably also be some other reasons behind it.
Regards Rajeev
-- regards
Kenneth Gonsalves Associate, NRC-FOSS lawgon@au-kbc.org http://nrcfosshelpline.in/web/