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
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...