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
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?