darksky
darksky

Reputation: 21019

Custom Heroku Domain Not Resolving Properly

I am trying to use a custom domain for a Heroku app. My domain is registered on Dynadot.com. Below is a screenshot of my DNS configuration. Now my domain goes to a "No Such App" in Heroku, and adding www. just doesn't resolve anywhere.

dynadot

I'm trying to avoid using an addon for custom DNS management. This shouldn't be that complicated for a statically generated, free heroku app.

And yes, I did read all the documentation, and almost all Heroku custom domain questions on Stackoverflow. I followed the instructions and it still won't work.

Any ideas?

Thank you!

Upvotes: 5

Views: 3006

Answers (1)

catsby
catsby

Reputation: 11342

Heroku recommends your apex domain be forwarded to a www subdomain (or similar), and then that subdomain be a CNAME to your app-name.herokuapp.com. It looks like you have that backwards, your apex is pointing to app-name.herokuapp.com while your www points to reef-inc.com (which I assume is your apex?).

You also need to make sure your app has the correct domains added with $ heroku domains:add expected-domain.com

Upvotes: 5

Related Questions