
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
- Mariadb keeps Restarting / Fails to init...
Ive just setup Appwrite on my docker compose host using the supplied Docker compose commands. My issue is that the mariadb container keeps restarting and fails...
- upsert_documents is not work with jwt cl...
client.set_jwt(jwt) databases = Databases(client) databases.upsert_documents(General, Pallets, [{"$id": "684aeb3e0021e64c10f1", "name": 'тест '}]) This code al...
- Redirect URL sends HTTP instead of HTTPS...
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth. ...
