Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku SSL DNS Settings
    primarykey
    data
    text
    <p>I am using Namecheap for domain registration and for DNS, and using Heroku for hosting. I have purchased an SSL certificate through Namecheap and set it up with Heroku, and have it nearly working perfectly.</p> <p>Currently, I have a DNS CNAME record with host "www" pointing to "[whatever].herokussl.com.", and a "@" host record set to URL Redirect (301) to "http://www.[domain].com".</p> <p>My app itself forces all HTTP traffic to redirect to HTTPS, so "http://www.[domain].com" goes to "https://www.[domain].com".</p> <p>I am getting the following results:</p> <pre><code>http://www.[domain].com - properly navigates to site as HTTPS https://www.[domain].com - properly navigates to site as HTTPS http://[domain].com - properly navigates to site as HTTPS https://[domain].com - **does not** navigate to site, and instead the browser cannot find the page </code></pre> <p>I believe this has to do with how the URL Redirect behaves behind the scenes. I had originally done this as CNAME record pointing directly to "[whatever].herokussl.com.", but apparently doing that on the zone apex blocks MX records...</p> <p>What do I need to do to get the desired behavior? I simply want all naked or "www" domains to point to my "www" domain.</p> <p><strong>UPDATE: More information regarding my DNS settings</strong></p> <pre><code>HOST NAME IP ADDRESS/URL RECORD TYPE --------- -------------- ----------- @ http://www.[domain].com URL Redirect (301) www [whatever].herokussl.com. CNAME (Alias) </code></pre> <p>My SSL certificate was not a wildcard, just an EssentialSSL certificate from Comodo. I'm fine if only www.[domain].com works (with a redirect from the naked domain), although when I was using a CNAME for both the apex and "www", it was working as a naked domain with SSL just fine.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload