I am custom domain for my heroku app using zerigo dns.
www.domain.in is working fine.
domain.com should redirect to www.domain.in sometimes and sometimes giving application error.
Records in zerigo dns :
1) type: redirect, domain.in, http://www.domain.in
2) www.domain.in, cname, xxx.herokuapp.com
another 3 A type records
I think these are correct thats why sometimes it is working, but sometimes giving application error, as of now thinking that it is zerigo bug.
Related question I found - Root domain is not working properly