I have deployed a rails app with Fly with a custom domain. The site has a landing page: quickvoicestaging.co.za, then it has a subdomain: app.quickvoicestaging.co.za.
The landing page works but I cannot access the subdomain. I swear I was able to access it after playing around with some config settings in rails, namely:
config.action_dispatch.tld_length = 2 and also adding the host names to
I then made some other unrelated changes and after I deployed again it stopped working. So I checked out the previous commit and deployed it, but it doesn’t work anymore. I have no idea what changed. The site works locally
I have a verified wild card certificate and root domain certificate. I have A records pointing to the root domain and the wildcard domain, and an acme challenge CNAME record.
If I run a cert check on the wildcard, it says it has been issued:
The certificate for *.quickvoicestaging.co.za has been issued. Hostname = *.quickvoicestaging.co.za DNS Provider = godaddy Certificate Authority = Let's Encrypt Issued = rsa,ecdsa Added to App = 4 hours ago Source = fly
The error I get when going to the subdomain:
Check if there is a typo in app.quickvoicestaging.co.za. DNS_PROBE_FINISHED_NXDOMAIN
Does anyone have any ideas?