LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS Question (https://www.linuxquestions.org/questions/linux-networking-3/dns-question-177429/)

msamd 05-03-2004 02:05 PM

DNS Question
 
Ok I have Apache on a MD Linux 10 setup to run 2 web servers one on ip 192.168.0.3 the main one
192.168.0.4 virtual IP
my DNS is running on a Windows 2003 Server behind a router
I can set up my domain up like
domain and I have to create A host record using my externl IP address 24.197.116.1 If I the internal address 192.168.0.3 it will not work buy the way I have port 80 on the router set to go to my linux box @ IP 192.168.0.3

what I would like is to set up a
domain and a subdomain

domain 192.168.0.3
sub.domain 192.168.0.4
how do I set my DNS to route to my internal IP and still be able to pull the site using an external computer.

as long as I set my domain up using my external IP it works fine but if I you the internal it will not work out side of my LAN


Help
Thank,
Brent

jcookeman 05-03-2004 02:46 PM

Is this a registered domain?

msamd 05-03-2004 06:46 PM

yeah it is a register domain

zaphodiv 05-03-2004 07:13 PM

A thread from a couple of days ago asking the same thing.


All times are GMT -5. The time now is 11:32 PM.