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
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- Create a project via REST API or SDK, mi...
I am currently self-hosting Appwrite in my local machine, deployed using docker script in the website. I also installed `appwrite-cli` through npm. I am trying...
- 1.8.1 - Databases - inline updating a ro...
When updating a database field via the inline edit method, the `$updatedAt` column does not get updated. Only if the row is updated by the "Update" interface (t...