Hi guys, i want to add a backlink from my payment gateway server to Appwrite functions, but in the payment gateway i can only add the url to call, but in Appwrite there are headers that i need to set, how i can do it then?
I had installed the appwrite in digitalOcean cloud and using the IP address in which the appwrite runs, i added a A record with name 'appwrite.mydomain.com', and when i called that domain from browser the Appwrite successfully added ssl to it, but when i deployed a nodejs function into appwrite in the domain console of appwrite it's showing localhost address something instead of my global domains
am new to Appwrite, previously i used firebase, please help me on this
That localhost thing is the auto generated function domain. There is an environment variable for configuring what that domain is. It's something like _APP_FUNCTIONS_DOMAIN. Anyways, I would suggest going to the domains tab of your function and adding a custom function domain
but i had configured in dns of domain
is that not enough?
i need to setup the environmental variables? sorry got confused, i tried looking into documentation and i tried things like setting in the function endpoint in functions domains
As Steven stated the function.localhost is autogenerated by default. You can either click on the Domains tab in your attached image and add a custom function domain or update the .env variables
Checkout the documentation here for the relevant .env vars.
https://appwrite.io/docs/advanced/self-hosting/functions
Recommended threads
- Unknown column 'sourceSize' in 'field li...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: `appwrite-worker-stats-resources | 2025-10-26T10:32:38.289577112Z Failed: SQLSTATE[...
- Invalid document structure: Missing requ...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: appwrite-worker-audits | 2025-10-26T11:15:24.062537020Z Error processing a...
- Could not connect to SMTP server: SMTP E...
Hi there, I have currently an issue configuring my SMTP (Custom SMTP server) setting in appwrite. My Setup: - Self-hosted (DigitalOcean): appwrite 1.8.0 - SM...