Hi I have a self-hosted instance. In my env, _APP_DOMAIN and _APP_DOMAIN_TARGET are set to appwrite.example.com. I have added a DNS record pointing appwrite.example.com to the IP of the instance. I am able to access the instance. _APP_DOMAIN_FUNCTIONS is set to functions.example.com. I have added a DNS record which points functions.example.com to the IP of the instance. Whenever a function is created, Appwrite automatically generates a domain function_id.functions.example.com. When I try to execute the function through the generated domain, I get the Error: getaddrinfo ENOTFOUND error.
_APP_DOMAIN_FUNCTIONS is set to functions.example.com. I have added a DNS record which points functions.example.com to the IP of the instance.
You need to configure a wildcard DNS record to point *.functions.example.com to Appwrite
FYI, you'll need to manage certificates yourself...we haven't documented how to do that yet
Got it! Thanks
[CLOSED] How to configure custom domains for functions
Recommended threads
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this
- How to determine if a user is anonymous?
This is probably a silly question, but I have not yet found a good answer. Is there a method to determine if the current session is anonymous aside from seein...