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 have a domain name registered through 1and1.com that I'd like to point to my Heroku app (mydomain.com and www.mydomain.com).
Heroku's instructions (http://devcenter.heroku.com/articles/custom-domains) say:

Root domains (mydomain.com) must use A records To setup your root domain, add separate A records for each of the following addresses using your DNS management tool: 75.101.163.44, 75.101.145.87, 174.129.212.2

However 1and1 only allows one A record IP.

Is it sufficient to pick one of Heroku's three IPs, or is there a different way that I should set this up?

Thanks

share|improve this question
    
I've seen plenty of other hosts that only permit 1 A record to 1 IP - don't know why they limit it (it's usually labelled ADVANCED control panel!) since it's perfectly valid. –  John Beynon Oct 2 '11 at 7:21
add comment

migrated from stackoverflow.com Oct 5 '11 at 21:22

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

You can get away with picking up one of the IPs, however the 3 IPs exist for redundancy & load balancing. So you'll miss out on that. For example if the one IP you pick is down, you'll lose access.

BTW, I don't know why 1and1 only allows you to setup one A records. It should be possible to add multiple A records, maybe the option is hidden somewhere. You should try contacting them to resolve this.

If not, see if this setup works:

yourdomain.com CNAME foo.yourdomain.com.
foo.yourdomain.com. A 75.101.163.44
foo.yourdomain.com. A 75.101.145.87
foo.yourdomain.com. A 174.129.212.2
share|improve this answer
    
I picked one IP and it has been working well. But they definitely only allow on A record. –  stupakov Oct 8 '11 at 17:02
add comment

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.