Make redirect to

Site name:
With custom Domain handled by Netlify

I added a subdomain:

That subdomain points to a Heroku DNS target and the SSL certificate on Heroku side

I noticed that visiting shows “Not secure”, but visiting does show “Secure”

Is there a way I can redirect to ? Where should I set that?

Thank you

DNS propagation can take a while. Your subdomain looks secure now

Hi Tom. Thank you for your comment.

When I visit from different devices and browsers I keep seeing “Not secure”.

Is it possible you visited the wrong link?

Hi, @orozCoding. The domain is hosted at Heroku (as you mentioned above):	3600	IN	CNAME 6 IN A 6 IN A 6 IN A 6 IN A

This means Heroku is providing the HTTP service for this domain. Redirection occurs in the HTTP protocol and not the DNS protocol. Netlify is only providing DNS service for that domain so we cannot provide the redirection at the HTTP level. The HTTP to HTTPS redirect must be configured at Heroku for this reason.

If there are other questions about this, please let us know.

Thank you Luke. Will try to reach out to them.

Leaving my solution in case it’s helpful to someone else:

In my Rails app, all I had to do was to set config.force_ssl = true.

1 Like