I've tried several tutorials and posts about how to do it, but they all give me the same result. All browsers I try in my cellphone is telling me the website is "not safe." While on my computer I don't get it in any browser.
I've upgraded to required Tier on Heroku, and have Automated Certificate Management (ACM) activated.
What I've done is:
Heroku, in your app > Settings > Add your domain:
Add www.bloominal.com - Copied [DNS Target]
Google Domains > DNS > Resource records > Custom Records > Manage Custom Records:
www, CNAME, Pasted [DNS Target]
Google Domains > Website > Add a Forwarding Address:
From Field: bloominal.com
To Field: https://www.bloominal.com
Permanent Redirect (301)
Forward Path
SSL Enabled
My domain is "bloominal.com" and it's on google domains.
Any idea what's causing this? What results are you guys getting when you view the domain?
CodePudding user response:
It looks like the only thing that's missing is a redirect from http://www.bloominal.com
to https://www.bloominal.com
. Heroku recommends doing such redirects at the application level.
For Rails:
Use
config.force_ssl = true
in yourconfig/environments/production.rb
or similar.