Quote:
Originally Posted by aimseeker
(1) at which ip can i access this server on lan???
|
I have a web server I use for my own home business. The server is setup to use a static IP that I assigned. It is an IP outside of my DHCP scope so i know it won't be given out to any other system on accident and I don't need to setup a DHCP reservation for it. My internal network is 10.1.1.x. I have my web server setup to use 10.1.1.21. To find out if your server is running DHCP or Static IP you can use the command
ifconfig. Alternatively you can check the network configuration files as well. depending on your distribution these file will be different.
Quote:
Originally Posted by aimseeker
(2) can i access this server(using my public ip) from anywhere using internet??
|
Yes you can. I do it all the time. you would want to looking into your router's configuration to enable incoming traffic on port 80 to be routed to your web server on port 80. I use a D-link DIR-615 wireless router (with 4 port gigabit switch). On my router this can be achieve by either setting up virtual servers or Port Forwarding. They both do the same thing on this router.
Quote:
Originally Posted by aimseeker
(3)can i assign a proper hostname(like h**p:\\w**.xyz.com) to access this server from anywhere using internet??if yes then do i need some DNS configuration ???
|
Yes this is something else I do as well. There are a few places you can obtain a these services. Most newer routers support this. Both my D-Link DIR-615 and my Linksys WRT160N support it. You are looking for a service called Dynamic DNS. My D-link router is my gateway router (the one connected directly to my modem). D-Link offers support for both DynDns.com or dlinkddns.com Dynamic DNS services. My Linksys offers support for both DynDNS.com and TzO.com Dynamic DNS services.
Since my D-Link is my gateway router I use dlinkddns.com to handle my DDNS (Dynamic DNS) services. My domain name is http://<username>.dlinkddns.com where <username> is my account username at dlinkddns.com. The service is Free, and my router automatically communicates with dlinkddns.com to update my domain registry with my WAN IP. Make it completely worry free. It is a Set it and forget it process.