
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
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
- 404 error when navigating to the team fr...
the version i m running is `1.7.4` as far as i can tell everything is working fine except for this weird bug in the video. when monitoring the appwrite and app...
