title: Heroku Godaddy naked domain
body: <p>I have a Heroku app and I've add a CNAME (www to herokuapp) to redirect it from GoDaddy to Heroku. Now I'm trying to manage also the naked domain.</p>
  
  <p>This is from <a href="https://devcenter.heroku.com/articles/custom-domains" rel="noreferrer">Heroku documentation</a>.</p>
  
  <p>Naked domains (also known as bare domains or apex domains, for example <strong>mydomain.com</strong>) must use DNS A-records. To setup your root domain, add separate A records for each of the following addresses using your DNS management tool:</p>
  
  <pre><code>75.101.163.44
  75.101.145.87
  174.129.212.2
  </code></pre>
  
  <p>Check that your DNS is configured correctly with the “host” command:</p>
  
  <pre><code>$ host example.com
  example.com has address 75.101.163.44
  example.com has address 75.101.145.87
  example.com has address 174.129.212.2
  </code></pre>
  
  <p>I've also activated the forwarding from the GoDaddy main menu.</p>
  
  <p>Ok, if I try <strong>host example.com</strong> with my domain, all is ok.
  But, when I try with the browser, I get this:</p>
  
  <blockquote>
    <p>Heroku | No such app There is no app configured at that hostname.
    Perhaps the app owner has renamed it, or you mistyped the URL</p>
  </blockquote>
  
  <p>I tried also with the command <code>heroku domains:add yourdomain.com</code>
  but this create a second instance of my app, it doesn't redirect it to the full domain www</p>