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
- Appwrite Python SDK Keeps returning the ...
So I have a couple services, one is a scheduling engine responsible for fetching data from a database and launching a containerized micro service to process tha...
- Creating a function on appwrite Cloud.
I am trying to create a function on Appwrite cloud. I go to the console. I hit : Create function I choose DART-3.5 I put a name for my function : NameFunction...
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...