Redirect dev.fly to custom domain

So this is my first public facing app and I am very nervous. I showed some of my friends the dev.fly version of the site but now I have the custom domain up and running. I wanted to have it auto redirect the user to the custom domain site. Is this something I can do in Fly.io or is this something I need to add to my routes in flask?

Thanks!!

Just add certificate for your app and then do those DNS changes what fly.io dashboard (or cli) suggests.

So basically:

fly certs add your.example.com

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.