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 I bought my domain name through Google Domains as the DNS provider.

This means that even if the user puts in or it all needs to end up on 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: (it’ll forward the URL to the https version of the site)

Read the full blog post on Medium