Why is my domain pointing to my old static site app?

App Platform caches static sites for up to 24 hours after their deletion. If you don’t remove a custom domain from a previous static site app before deleting it, the domain may still point to the old app for up to 24 hours after deleting the app. This can cause your domain to be unavailable to a new app until the DNS updates.

To avoid this, remove the custom domain from the old app before deleting it and then add the domain to the new app.

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.