What is the difference between app domains and app domains target
They're used for different things inside Appwrite but you typically set it to the same thing.
The app domain environment variable says this is the main domain of this Appwrite instance so that the Appwrite Console will run okay on that domain. In addition, Appwrite will generate a certificate for that domain
The app domain target environment variable I used for custom project domains. It validates that the new domain you created points to the correct domain (for the cname record).
So I should set my main domain example.com on both values then on the console I can add my subdomain per project?
Typically, you have a main domain you access Appwrite on (like appwrite.example.com). Then, you have projects you create (like my-awesome-app.com) and if you need an Appwrite domain for that app, you'd create a custom domain in your project (like appwrite.my-awesome-app.com).
In any case, both the app domain and app domain targets would be appwrite.example.com.
Got it thank you
Recommended threads
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...