Configure DNS to heroku (root domain)?

Trying to configure DNS to heroku.

1 — Registered domain 2domains.ru (domain-type mydomen.ru)

2 — added in heroku for application domains (www.mydomen.ru, mydomen.ru)

3 — added in admin interface 2domens.ru for your domain 2 CNAME (@ CNAME herokuapp.com www CNAME herokuapp.com)

www.mydomen.ru works, and mydomen.ru — no, any thoughts?


(no more DNS entries)
October 3rd 19 at 04:36
3 answers
October 3rd 19 at 04:38
Solution
example of setting the ip via heroku:
@ A 174.129.212.2
@ A 75.101.145.87
@ A 75.101.163.44
www CNAME yourapp.herokuapp.com.
Clearly, the root is tied through A recording. And where such IP heroku took? I have nslookup heroku.com gives 208.67.222.222? - destini commented on October 3rd 19 at 04:41
Och spent a long time with heroku (due to the fact that I have no ANAME records) in the end, these alpiski gave me a friend who dug them up somewhere in the bowels of the heroku documentation. Of course, this is not best practice, but it works. - Taya_Wintheiser88 commented on October 3rd 19 at 04:44
Did the same — worked. Apparently will work before the IP will not change :( - destini commented on October 3rd 19 at 04:47
Strange, but I have No Such App, although tied and www and the root domain to heroku. - randi.Williamson commented on October 3rd 19 at 04:50
but in heroku added domains? - destini commented on October 3rd 19 at 04:53
domain earned, but there was an internal error. Looked at the logs, says that you cannot use domain Ruth. In General, while thinking about how to redirect @ to www. Use DNS service from Yandex. - randi.Williamson commented on October 3rd 19 at 04:56
October 3rd 19 at 04:40
There is another option CNAME record www subdomain looks at heroku, and a CNAME record to the root domain looking at www:

www.domain.com. 3600 IN CNAME app.herokuapp.com.
@ 3600 IN CNAME www.domain.com.
October 3rd 19 at 04:42

Find more questions by tags Domain name systemHostingHeroku