title: Heroku SSL security certificate not working: CNAME from Namecheap domain
body: <p>I am trying to set up a CNAME Record from my Namecheap domain to my Heroku app. I understand that Heroku offers a free SSL certificate if you use the default name rather than a custom domain. I am using a default name (example.herokuapp.com).</p>
  
  <p>On Safari, I receive a "untrusted" popup and then it proceeds to load; on Firefox, I receive a connection untrusted:</p>
  
  <p><code>www.example.com uses an invalid security certificate. The certificate is only valid for the following names: *.herokuapp.com, herokuapp.com (Error code: ssl_error_bad_cert_domain)</code></p>
  
  <p>And Chrome refuses the connection.</p>
  
  <p>My Namecheap Advanced DNS is set up as follows:
  <code>
  Type                | Host | Value                           | TTL   | 
  CNAME Record        | www  | example.herokuapp.com           | 30 min|
  URL Redirect Record | @    | http://www.example.com [Masked] |       |</code></p>
  
  <p><code>heroku domains</code> looks like this:</p>
  
  <p><code>example Heroku Domain
  example.herokuapp.com
  example Custom Domains
  Domain Name                    DNS Target<br>
  www.example.com  example.herokuapp.com
  example.com      example.herokuapp.com</code></p>
  
  <p>Is there something I am doing wrong that is causing this problem? My goal is to have the user be able to load the page by going to example.com, www.example.com, <a href="http://example.com" rel="nofollow">http://example.com</a>, <a href="http://www.example.com" rel="nofollow">http://www.example.com</a>, <a href="https://example.com" rel="nofollow">https://example.com</a>, and <a href="https://www.example.com" rel="nofollow">https://www.example.com</a>.</p>
  
  <p>Thank you.</p>