Answer the question
In order to leave comments, you need to log in
How to configure RU Center DNS to work with Heroku through the root domain?
There is an app on Heroku .
There is a domain purchased from Ru Center .
You need to configure Ru Center DNS so that requests to mydomen.com go to myapp.herokuapp.com .
Tried:
- Make an entry in the resource file like [ www IN CNAME myapp.herokuapp.com. ]. Only www.mydomen.com works . An entry like [ @ IN CNAME myapp.herokuapp.com. ] or [mydomain.com. IN CNAME myapp.herokuapp.com. ] do not do .
- Set up a redirect from mydomen.com to myapp.herokuapp.com . Works but doesn't save my domain in the address bar.
- Set up a redirect from mydomen.com to www.mydomen.com , and in the resource file make an entry like [ www IN CNAME myapp.herokuapp.com. ]. The redirect to www.mydomen.com works , after which it gives an error page from the DNS provider "Redirection for this domain is not configured".
Answer the question
In order to leave comments, you need to log in
As Aleksey
wrote in a comment , the solution is as follows:
1) Create an entry like [ @ IN A 174.129.25.170 ]
in the resource file 2) Create an entry like [ www IN CNAME myapp.herokuapp.com. ]
Free www to @ redirect service (IP taken from it): wwwizer.com/naked-domain-redirect
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question