Why am I receiving “1001 DNS Resolution Error” when accessing my app's subdomain?

If you receive a cloudflare - error 1001 when trying to access a subdomain on your app, this means that you have not added the subdomain as one of your app’s domains.

Because of the way that App Platform manages DNS records, you cannot manually adds DNS records to direct subdomains to your app, such as creating a CNAME record in DigitalOcean DNS to point at www.example.com. Instead, you need to explicitly add the subdomain in your app’s settings and ensure that your domain’s DNS is configured using either option 1 or option 2 in that doc.

Dedicated egress IPs route egress (outbound) traffic from an app. To route ingress (inbound) traffic to an app, use one of App Platform’s public ingress IPs.
Add the root domain to the list of domains in the app’s settings along with the wildcard subdomain.
App Platform apps may be slow or unable to resolve .gov domains because the domain administrators have blocked DigitalOcean’s IP addresses. To fix this, you can contact the domain administrator or use a custom DNS resolver.