You cannot add the same domain name to multiple apps or split an app and domain name across more than one account.
Why is my domain pointing to my old static site app?
Validated on 31 Jul 2024 • Last edited on 18 Mar 2026
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.
Related Topics
Why do I get the error "Domain Already Exists" when trying to add a domain to an app in another account?
How do I fix the error "Record is managed by an App on this account, and cannot be deleted"?
Use the app’s Settings tab to remove domains associated with App Platform apps.
Why do I get the error “JavaScript heap out of memory” during deployment?
Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.