title: Add GoDaddy naked domain to Heroku app
body: <h3>Heroku <a href="https://devcenter.heroku.com/articles/custom-domains" rel="noreferrer">custom domains</a></h3>
  
  <p><em>I've setup <strong>two</strong> custom domains for my Heroku app.</em></p>
  
  <pre><code>example.com        example.com.herokudns.com
  *.example.com      wildcard.example.com.herokudns.com
  </code></pre>
  
  <hr>
  
  <h3>Domain configuration</h3>
  
  <p><em>I configured my domain as follows:</em></p>
  
  <ol>
  <li><p>I added a <code>CNAME</code> Record for <code>*</code> pointing to <code>wildcard.example.com.herokudns.com</code>.<br>
  <strong>Works fine.</strong></p></li>
  <li><p>I forwarded my <code>URL</code> using GoDaddy's Domain Forwarding tool, because I can only specify <code>IP</code> addresses as <code>A</code> records.</p></li>
  </ol>
  
  <hr>
  
  <h3>Problem</h3>
  
  <p>The domain forwarding points to <code>example.com.herokudns.com</code>. Unfortunately GoDaddy automatically prepends <code>http://</code>, so it actually does not open my app and instead shows a Heroku message:</p>
  
  <blockquote>
    <p>There's nothing here, yet.</p>
  </blockquote>
  
  <hr>
  
  <h3>Goal</h3>
  
  <p>Setting up my GoDaddy root domain to point to my Heroku app.</p>
  
  <hr>
  
  <p><strong>Note:</strong> GoDaddy automatically added an <code>A</code> record for <code>@</code> pointing to <code>&gt;&gt;++FWD1++&lt;&lt;</code></p>