Search code examples
herokudnsovh

ERR_NAME_NOT_RESOLVED with DNS resolution OVH and Heroku


I have an app on heroku which I'm used to address with a .com tld. But for SEO reasons, I want to address it with a .fr tld.

I have made some changes in DNS to do it but the only thing I get is ERR_NAME_NOT_RESOLVED.

On .com, I have this config on my OVH (french host) which work :

matosmaison.com.        0   A       54.228.198.226
www.matosmaison.com.    0   CNAME   matosbricolage.herokuapp.com.

On .fr, I have put this :

matosmaison.fr.     0   A       54.228.198.226
www.matosmaison.fr. 0   CNAME   matosbricolage.herokuapp.com.

In heroku, I have added the concerned domains into the app :

matosmaison.com -> matosbricolage.herokuapp.com
matosmaison.fr -> matosbricolage.herokuapp.com
www.matosmaison.com -> matosbricolage.herokuapp.com
www.matosmaison.fr -> matosbricolage.herokuapp.com

As you can ry, the .com domain works (maybe from a month ago) but the .fr not.

Any suggestion ? Thanks in advance !


Solution

  • According to dig (via digwebinterface) you don't have a CNAME registered for www.matosmaison.fr. (presuming that is the actual domain you're having problems with!)