Why doesn't my app's wildcard subdomain work?

App Platform requires that you add the root domain to the app’s settings before adding any wildcard subdomains that you want to use.

For example, if you want to use the wildcard subdomain *.example.com to your app, you need to add example.com to the app’s settings first.

Apps do not have static IP addresses so you cannot point an A record at an app.
Use a public DNS server, such as Google’s 8.8.8.8, to resolve SRV lookups required by MongoDB’s connection string.
Verify the hostname and check your local machine for DNS resolution issues.