Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two dedicated servers running Apache on RHEL5/CentOS.

The first is setup to be a name server for the domain ''

I need to set it up so that points to the second server. What command should I use or what file should I edit?

I think I have to set the 'A' record, but where do I do this in a redhat linux system?

share|improve this question
Which DNS (name) server package did you install? – Cry Havok Oct 20 '10 at 6:21
I have no idea what's in use - bind perhaps? All i know is that when setting up the name server for the domain (elsewhere), I used the IP addresses of our first server... How can I check the DNS server package? – siliconpi Oct 20 '10 at 6:31

You say The first is setup to be a name server for the domain ''. I'm hoping you mean it's setup for the domain, with a host (A) record called www. If not, you already have problems.

Assuming the domain is, you need a CNAME (alias) record for ABC, pointing at

share|improve this answer

Do both servers have static IP's? If so, the abc should be an A record on the name server pointing to the IP address of the second server.

share|improve this answer
up vote 0 down vote accepted

I was mistaken in my assumptions. Neither of the servers had name servers. The domain name was registered at GoDaddy and we added the two IP addresses as 'A' DNS records.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.