# How do I fix the error "Record is managed by an App on this account, and cannot be deleted"? When you try to delete a DNS record used by an App Platform app, the control panel returns the following error: > Record is managed by an App on this account, and cannot be deleted You cannot delete the record from the control panel’s **Domains** page while the app still uses it. To fix this, in the control panel’s left menu click **App Platform** and select the app that is using the DNS record you’d like to delete. In the **Settings** tab, [remove the domain](https://docs.digitalocean.com/products/app-platform/how-to/manage-domains/index.html.md#remove-a-custom-domain). App Platform removes the DNS record automatically once you destroy the app. ## Related Topics [How do I add an A record to my app on App Platform?](https://docs.digitalocean.com/support/how-do-i-add-an-a-record-to-my-app-on-app-platform/index.html.md): App Platform provides two static ingress IPs you can use to map A records to your app. [Why do I get the error “JavaScript heap out of memory” during deployment?](https://docs.digitalocean.com/support/why-do-i-get-the-error-javascript-heap-out-of-memory-during-deployment/index.html.md): Increase the heap memory by setting the environment variable NODE\_OPTIONS=–max-old-space-size=4096. [How do I fix a "permission denied for schema public" error in my dev database?](https://docs.digitalocean.com/support/how-do-i-fix-a-permission-denied-for-schema-public-error-in-my-dev-database/index.html.md): Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.