# Why doesn't my app's wildcard subdomain work? App Platform requires that you [add the root domain to the app’s settings](https://docs.digitalocean.com/products/app-platform/how-to/manage-domains/index.html.md#create-a-wildcard-record-for-domain) before adding any wildcard subdomains that you want to use. For example, if you want to use the wildcard subdomain `*.example.com` to your app, you need to add `example.com` to the app’s settings first. ## Related Topics [How do I fix the error "Record is managed by an App on this account, and cannot be deleted"?](https://docs.digitalocean.com/support/how-do-i-fix-the-error-record-is-managed-by-an-app-on-this-account-and-cannot-be-deleted/index.html.md): 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?](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.