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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...