Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 a question about domain A records.

I have a VPS and I want to point my domain to its IP.

Now, do I have to add an entry into the A record for AND Or will simply adding an entry for make the work automatically?

share|improve this question
up vote 5 down vote accepted

Each of the two entries you mention is individual and distinct. So if you want both to work, you need to add both.

share|improve this answer
It is generally considered a good practice to put the 'www' record as a CNAME, not an A record, assuming it is the same. – Scrivener Jan 20 '13 at 8:38
i just put it as an A name and it works fine. – scarhand Jan 20 '13 at 17:51

You may add an A record for your IP and a CNAME record for www. or *. like:

.domain.tld     A      3600 (IP)
www.domain.tld  CNAME  3600 domain.tld


*.domain.tld    CNAME  3600 domain.tld
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.