skip to Main Content

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 !

2

Answers


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

    Login or Signup to reply.
  2. You shouldn’t use ip address since heroku uses a loadbalancer. You might encounter problem.
    I think it’s better to use cname like

    * IN CNAME yourname.herokuapp.com.
    www IN NAME yourname.herokuapp.com.
    IN CNAME www.yourname.com.
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search