Skip to content
Back

Appwrite Sites Domain already used.

  • 0
  • Self Hosted
David
26 May, 2025, 10:03

I have created a new selfhosted appwrite instance today with version 1.7.3 and docker compose, then upgraded & migrated to 1.7.4 immediately. I created a new Site and assigned a domain, deleted the domain and now it says when i try to add the domain again i get this message: "Domain is already used. Please try again with a different domain." Its a custom domain that points to the appwrite host not a default subdomain like test.sites.davidbrum.com. I already tried deleting the site and readding it. It doesent help.

Docker logs in the appwrite container: [Error] Timestamp: 2025-05-26T09:58:45+00:00 [Error] Method: POST [Error] URL: /v1/proxy/rules/site [Error] Type: Appwrite\Extend\Exception [Error] Message: Domain is already used. Please try again with a different domain. [Error] File: /usr/src/code/src/Appwrite/Platform/Modules/Proxy/Http/Rules/Site/Create.php [Error] Line: 188

Where is the domain stored? Can I delete the Domain from the Database?

TL;DR
Developers created a new self-hosted Appwrite instance and encountered an issue where they couldn't reuse a domain for a site, even after deleting it. The error message states that the domain is already in use. The developer attempted various solutions like deleting and re-adding the site but to no avail. In the Docker logs, an error related to the domain issue is visible. The developer is looking for guidance on where the domain is stored and whether it can be deleted from the database. Solution: The domain information is likely stored in the Appwrite database. Developers can try to access the database and remove the conflicting domain entry to resolve the
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more