Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Heroku-deployed Dash App - How to Force HTTPS Connection

I currently have a Dash app deployed on Heroku’s paid hobby plan ($7/mo) using a custom domain with automatic SSL enabled. The domain I purchased from Namecheap.

Right now when I type https://example.com in the browser, my app shows up and it says the connection is secure.

However, if I just type in example.com or www.example.com, it says that the connection is not secure.

I want all users of my app to end up at either https://example.com or https://www.example.com regardless of what they type in their browser, so that they are not alarmed by the message that the connection is not secure.

How can I achieve this? I’m not technical so please explain it as plainly as possible.

Thanks very much.

1 Like

Any solution for this? I have exactly the same issue.