I am not super sophisticated with dns. My domain name is hosted on godaddy. How do I make it go to my fly site without an ugly redirect?
godaddy has instructions on how to set up your dns here: Add an A record | Domains - GoDaddy Help US and Add an AAAA record | Domains - GoDaddy Help US . you will need to remove any existing records so your domain is pointed only to your Fly app.
you can view your app’s IPs with flyctl ips list
or on the apps page on the dashboard.
your app will also need a TLS certificate for your domain. you can add this with fly certs add yourdomain.com
, or on the “certificates” page on the dashboard.
hope this helps!
Thanks. It worked.