问题
I setup Zerigo DNS addon at my Heroku app using Heroku instructions for adding a custom domain. It works fine when you open www.spotty.rs.
I also added spotty.rs as a domain in Heroku panel, and added a REDIRECT record at Zerigo (redirection to www.spotty.rs). When I type spotty.rs in browser sometimes it redirects me to www.spotty.rs and sometimes I got Application error. In console, heroku log command displays H70 error which states that DNS records are not set correctly.
Any idea why is this happening? I made this changes two days ago. Is it possible that it still takes time to propagate DNS changes?!
回答1:
I had the same problem, you need to go to the url zerigo settings of your app, for example: https://zerigo-dashboard.heroku.com/apps/% nameofyourappheroku% an click "Configure" in the DNS menu click "Add snippet" and select "Heroku" to finish click the button "Add select records"
After CNAME edit and put the URL of your site on heroku, example "yourapp.herokuapp.com"
This will take a few minutes.
来源:https://stackoverflow.com/questions/19111689/root-domain-is-not-working-properly