Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 am trying to point a domain of support.example.com to a public IP address and am not sure how I can achieve this. I have tried a CNAME record but I understand that it's not possible to direct a CNAME to an IP address.

Can anyone help?

share|improve this question
up vote 1 down vote accepted

You will have to add an A record. To point a sub domain, access the zone file for domain.com and add the A record for support to point to a IP address. Instead of using the CNAME record, use A record. The entry should look like below.

support 14400 IN A xx.xx.xx.xx

Replace xx.xx.xx.xx with actual server IP.

You can set a A record from the registrar panel as well.

If you are using the Name servers that point to your server, you have to add the A record from the server. If the Name servers are that provided by the registrar, you have to do it from the registrar panel.

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.