Reputation: 41
I've set up paid dynos for my heroku app. The SSL certificate works on my-app.herokuapp.com but when I go to my custom domain I get your connection is not private.
I'm using godaddy as my domain provider. I have my CNAME set with name: www and value: my-app.herokuapp.com
It works on http but not https.
Upvotes: 2
Views: 2949
Reputation: 12018
Adding a Heroku instance to a subdomain is done by pointing the subdomain to Heroku's dns instance, not the app.
Example:
subdomain
(ex: explore.main-street.com)herokudns
(ex: autumn-sunset-1495.herokudns.com)Read Heroku's docs here.
Upvotes: 0
Reputation: 36319
Your SSL certificate has to be registered to the domain name you're serving from. If it "works" on my-app.herokuapp.com then you need to purchase an SSL cert for your custom domain. https://devcenter.heroku.com/articles/ssl-endpoint#acquire-ssl-certificate
Upvotes: 1