Internal DNS setup

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Internal DNS setup

Post by alex.barylski »

Perhaps you've been following my adventures in Linux about setting up Linux and Apache...

Here is what I would like to do:

Can I setup a internal DNS so whenever someone at home selects the domain: test.com they are directed to my desktop IP address...

Is there a way to do this with existing tools?

I have a domain name registered and would like to map that domain to my desktop, but how do I setup a DNS internally so people from the outside world can also access our web site? Basically setup a family web site hosted in my house???

This desktop will shut down every night so the IP could possibly change...would I then have to update GoDaddy.com DNS server info to reflect these changes?

I suppose I could keep the desktop running 24/7...

Anyways, any tips, etc???

p.s-I have several computers inside a router, this desktop is *also* sitting behind a router...which I believe is what complicates this matter :P

Cheers :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Interally, on Windows you can just edit your HOSTS file and give the machines the proper internal IP.

Externally, set the router to forward port (80) traffic to that internal IP.
Post Reply