HTTPS/SSL on Heroku with Google Domains as DNS provider
This might be a bit of a niche share but it is something I struggled with recently. I have a Node.js application hosted on Heroku that I wanted deployed to
https://www.mydomain.com. I bought my domain name through Google Domains as the DNS provider.
This means that even if the user puts in
http://www.mydomain.com it all needs to end up on
https://www.mydomain.com. I’m not trying to belabor the point and it may seem obvious but it was non-trivial for me to set up the first time.
tl;dr — the website is hosted live here: http://www.linemansmilestones.com/ (it’ll forward the URL to the https version of the site)
Read the full blog post on Medium