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
- restore backup on another server with an...
I managed to restore DB+Volumes from a server to another one with another domain but when I try to click my project on the console, I get error "404 - Project w...
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...