If I have appwrite setup at appwrite.domain.com, could I have multiple domain names - one for each project like appwrite.project1.domain.com and appwrite.project2.domain.com? Multiple domain so cookies aren't treated as third party cookies.
Trying to use CNAME record for appwrite.project1.domain.com gives me Invalid Origin. Register your new client (appwrite.project1.domain.com) as a new Web platform on your project console dashboard"
Hey there ๐ This is possible.
You should set .env file to have your organization domain, and then for your projects, add domains as custom domains. You add custom domains in Appwrite Console, in project settings.
So that would be domain.com for above case?
If you dont have organization domain, you can use one of the project instead of oranization, and only add custom domains to the rest of the projects.
If you do that, keep in mind, if this first domain goes down (project is discontinued), all the other projects will stop working because of domain configuration. You would need to configure domain of some other project as organization domain in that case
How do I add organization domain?
Oh, my bad, I meant organization like in real world, not as concept in Appwrite.
To add the main domain (the one that cant stop working or everything else fails), you open .env and update values of _APP_DOMAIN and _APP_DOMAIN_TARGET. After saving changes, restart Appwrite with docker compose down && docker compose up -d
@Nevus did you get this resolved? Checking to see if we close this ๐
Yes it's resolved. Thank you.
[SOLVED] Using appwrite for different project
Recommended threads
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...
- vorafy.studio domain already exists erro...
My domain vorafy.studio is stuck/locked from a previously deleted project. I created a new project but can't add the domain โ getting 'already exists' error. Pl...
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...