mcook
02-07-2004, 03:12 AM
I am setting up a web server running Apache. I have the domain name and apache up and running. I also have a router on the the network and I am a bit confused as to my DNS settings. I have one public address and the router is set up to assign static to everything. I know I will have to enable port forwarding on the router. If anyone has a similar setup let me know what you did as far as DNS config. I don't know if I should use something like DynamicDNS service or what. I'm not sure which nameservers go where in the setup. Thanks for any help.
beanfield
02-07-2004, 11:39 AM
mcook said:
I am setting up a web server running Apache. I have the domain name and apache up and running. I also have a router on the the network and I am a bit confused as to my DNS settings. I have one public address and the router is set up to assign static to everything. I know I will have to enable port forwarding on the router. If anyone has a similar setup let me know what you did as far as DNS config. I don't know if I should use something like DynamicDNS service or what. I'm not sure which nameservers go where in the setup. Thanks for any help.
Hmmmm...you'll need to be a little more specific. You mention "the router is set up to assign static to everything.". I assume you're talking about your internal clients all have static ip addresses? What about your external IP address...is it dynamic or static?
For instance, here's my setup. I have 1 dynamic ip address from my provider. Since my public (external) ip address changes, I have to use a dynamic dns service (noip.com). The noip client runs on a pc inside my network and is able to sync my external ip address to my dynamic dns hostname. I have an apache server on my lan that is setup with the static ip address 192.168.1.3. The rest of my clients are getting thier ip address via DHCP on the router. The dhcp ip range is from 192.168.1.50 through 192.168.1.149. I set up my router to forward port 80 to 192.168.1.3 (my internal server).
mcook
02-08-2004, 10:49 PM
I finally figured it out and I have it setup almost the same way. I have a dynamic address from my Isp and my router is assigning static addresses to my other pcs. I used DynDns for the nameservers and to synch my IP. I had most everything configured correctly, but it didn't take effect until two hours later. I think it was something in small print I didn't read. I was expecting DynDns's nameservers to start resolving the IP immediately, but it doesn't work like that! Thanks for you reply anyway!
beanfield
02-09-2004, 12:14 PM
cool....are you running some kind of client for dyndns, or are you manually updating everytime your ip changes?
mcook
02-23-2004, 01:35 PM
I have a client for DYNDNS that does auto updating.