# Why do I get the error "Domain Already Exists" when trying to add a domain to an app in another account? You cannot add the same domain name to multiple App Platform apps, even if they belong to separate DigitalOcean accounts. Similarly, you must have the app and its desired domain name in the same account for them to work. ## Related Topics [Why is my domain pointing to my old static site app?](https://docs.digitalocean.com/support/why-is-my-domain-pointing-to-my-old-static-site-app/index.html.md): Remove the domain from the old app before deleting the old app, or wait 24 hours for the DNS to update. [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.