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.
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!
You can buy a custom domain name with a domain registration service. Add the custom domain to your app with the heroku domains:add command. Look up the Heroku-supplied DNS target for the custom domain using the heroku domains command. Configure your app's DNS provider to point to the Heroku-supplied DNS target.
GoDaddy does NOT Support Heroku.
A CNAME cannot be placed at the root domain level, because the root domain is the DNS Start of Authority (SOA) which must point to an IP address. CNAME records must point to another domain name, never to an IP address.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With