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
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...