
Sorry in advance if I use wrong terminology. It's the first time I fiddle around with backend development. So far I have only worked as a software developer for offline desktop apps.
What do I want to achieve? I want to install Appwrite on a server, to communicate with it from a Unity App via REST. Appwrite should listen at api.mydomain.app, but www.mydomain.app should be a "normal" website with infos about the app and have no connection to appwrite. How do I set this up, especially in regards of DNS?
What is the issue? Well, I don't exactly know. I tried setting everything up, but if I try to make a call to api.mydomain.app, my browser says that the site could not be found. So something must be wired-up wrongly.
What did I try so far? I have a domain at Hostinger. You can see the current DNS settings in the attached images. I entered api.mydomain.app in the subdomain settings and forwarded it to the IP of my vServer.
The .env file of appwrite on my vServer has the following variables. _APP_DOMAIN=api.mydomain.app _APP_DOMAIN_TARGET=api.mydomain.app Is this correct? Or should it be mydomain.app or something entirely different? I'm so confused.
I would be very glad for any hint in the right direction! Thank you!
Recommended threads
- Domain not working
My domain [fork-fable.appwrite.network](https://fork-fable.appwrite.network/) returns a 500 even after deleting and redeploying. Other domains added in domains ...
- File tokens regenerate each page reload
Hello, on appwrite 1.7.4, when I create a file token via the API Tokens(appwriteAdminClient)#createFileToken I get a secret, then when I check in the console t...
- Images not showing up --
so i made this movie app - i hosted it successfully using appwrite but the images arent showing up --- https://movie-app-jsm.appwrite.network/ this is the movie...
