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
- Documents not migrated to self hosted & ...
I tried migrating my cloud appwrite project to self hosted and it had some issues and didn't migrated documents inside collection Also when i changed my projec...
- HTTPS for appwrite on Coolify
Does anyone know how to set this up or is there a tutorial?
- Sendgrid password recovery email not sen...
Hello, Im using SendGrid as email provider. I added it as a messaging provider in the appwrite console, and it works fine. However, when i call account.createRe...