Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.