Web server on CentOS 4.4... DNS Problem???

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
Posts: 8
Joined: 2008/08/09 16:22:11

Web server on CentOS 4.4... DNS Problem???

Post by blaszlo » 2008/08/12 20:09:52

Hey guys,
I built a new server and installed Apache and bind and made a basic website. The machine has one nic with a virtual IP to create 2 IP addresses (to be used as ns1 and ns2.mydomain.com. I registered mydomain.com and registered dns for mydomain.com to point to the IP address and the virtual IP address on my machine. I screwed around with dns a little so the domain would resolve and I still can't get it to resolve. I can connect to the website using both IP addresses, but it just doesn't resolve using mydomain.com. Any help would be appreciated in how I am actually supposed to set up DNS. I have read all over the internet and can't seem to figure out what I'm doing wrong. Thanks!

Posts: 1927
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

Web server on CentOS 4.4... DNS Problem???

Post by foxb » 2008/08/14 03:22:14

First it takes 24 - 48 hours for your domain to became resolvable....

Otherwise you need to run 2 instances of bind each listening on different ip. (most likely or just listen on the 2 ip's from one instance)

Do not forget to open ports on the firewall.

Post Reply

Return to “CentOS 4 - Server Support”