
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
- Failed to verify JWT. Invalid token: Exp...
Hi I am trying to call a function from my mobile app, but I am receiving "Invalid token expired." My code looks more or less like this ```ts // from my app ...
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- How to remove the Sign up link after cre...
Greetings, i just installed appwrite on a VPS and created an account but now i do not want others to have access to the sign-up page. Is there any way to hide o...
