title: Heroku Naked SSL Custom Domain
body: <p>I'm trying to find a <strong>current, up to date answer</strong> for setting up naked domain with Godaddy and Heroku SSL. My goal is for all pages to land on a secure page at <a href="https://www.example.com" rel="nofollow noreferrer">https://www.example.com</a></p>
  
  <p><code>https://www.example.com</code> does go to a secure page. </p>
  
  <p><code>example.com</code> goes to an insecure page. </p>
  
  <p><code>https://example.com</code> does not work. </p>
  
  <p>My current set up is as follows: </p>
  
  <p><strong>In heroku settings:</strong> </p>
  
  <p><strong>Domain Name</strong>     |       <strong>DNS Target</strong></p>
  
  <p>example.com   | example.com.herokudns.com</p>
  
  <p>www.example.com | www.my-domain.herokudns.com</p>
  
  <p><strong>Go Daddy Settings:</strong></p>
  
  <p>CNAME | www |   www.example.com.herokudns.com</p>
  
  <p>Forwarding settings:</p>
  
  <p>Forward to: https:// | www.example.com</p>