I'm very confused with how to setup namecheap and heroku so they work together to serve custom domains over https.
I'm using heroku ssl beta, by the end of the configuration, heroku has updated its domain map like this:
myapp.com myapp.com.herokudns.com
www.myapp.com wwww.myapp.com.herokudns.com
The ssl certificate has been added to heroku successfully, I know it because I can access https://myapp.herokuapp.com
with a green padlock.
The next step should be modifying namecheap DNS, I followed this tutorial
The entries I added are:
CNAME Record www myapp.herokuapp.com
URL Redirect @ https://www.myapp.com
That should be it, but it doesn't work as I expected.
If I type myapp.com
, it goes to https://www.myapp.com
(so the redirect works), but without a padlock.
The same if I go to https://www.myapp.com
directly.
I'm sure it's not because the change hasn't taken effect yet, because I have messed around with other domains and it already take effect after 5min or so.
Can someone please tell me what is the problem?