Hi,
I am trying to install a certificate for an app I have hosted on fly.io as a subdomain of another site. I deployed the site and it’s reachable from the *.fly.dev domain. The primary domain is hosted on Godaddy, so I went there and added a CNAME record to point the subdomain to my fly app. When I attempt to navigate to the subdomain, it said the connection was closed, which I assume was because I didn’t have a certificate installed for the subdomain. I did fly “certs create subdomain.maindomain.com”, but got some warnings:
A Record (###) does not match app’s IP ()
AAAA Record (###) does not match app’s IP ()
Address resolution (###) does not match app’s IP (/)
Address resolution (###) does not match app’s IP (/)
It hinted that I should add a CNAME record - but the CNAME record it suggested was exactly what I had already added. To test this, I pinged the subdomain.maindomain.com address, and noted the IP. Then I used nslookup on my fly.dev domain and the IP addresses matched. So the DNS is working, but for some reason the certificate installation mechanism thinks it is not.