CNAME Heroku DNS Forwarding Secret

I have something completely cryptic that doesn't work in my DNS configuration:

  • My application: http://my-domain.herokuapp.com
  • I configured my-domain.comas follows:

    @ 10800 IN A 174.129.25.170
    www 10800 IN CNAME my-domain.herokuapp.com.
    

using wwwizer.

So, http://my-domain.comredirects to http://www.my-domain.comwhich CNAMEs are onhttp://my-domain.herokuapp.com

Everything seems fine, but when I enter http://my-domain.comor http://www.my-domain.com, I get an error message Heroku | No such app.

So, I tried this:

host http://www.my-domain.com
www.my-domain.com is an alias for my-domain.herokuapp.com.
my-domain.herokuapp.com has address 54.243.92.108

and

host http://my-domain.herokuapp.com
my-domain.herokuapp.com has address 184.72.248.52

I do not see where the problem is. WWWizer is working fine, but it looks like CNAME has not been updated since the herokuapp IP address has changed ...

Any advice would be greatly appreciated.

thank

+5
source share
1 answer

Thanks to the comment by @ neil-middleton, I found a solution.

I added earlier heroku domains:add my-domain.com

but not for heroku domains:add www.my-domain.com

. ( )

, DNS-, CNAME-ing *.herokuapp.com, heroku domains.

, CNAME , .

+3

All Articles