Use the app’s Settings tab to remove domains associated with App Platform apps.
Why is my domain pointing to my old static site app?
Validated on 31 Jul 2024 • Last edited on 9 Aug 2024
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
Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.
Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.