
Hi,
I was wondering why the domain created with my function doesn't match my endpoint domain?
Thanks!

Hi 馃憢 If you didnt have any custom domain configured, it would point to cloud.appwrite.io
. It's insecure to run functions on cloud.appwrite.io
聽domain, as that might expose some of our cookies. Thats why we decided to dedicate it to separate appwrite.global
聽domain.
You can see similar approach taken from Vercel and Netlify.
What you can do is add your own subdomain and connect it to a function, for example payments-api.matejbaco.eu
cound be added so when I visit that domain, it will execute the function

It's self hosted, and it's set on my own sub domain. I did a new CNAME redirection on the function but it failed.
Not sure what is the missing bit here :<

CNAME records might take up to 24 hours to apply, please retry in few hours. Verification should work then, considering its set properly on domain

DNS checkers are positives, and I followed the instructions carefully. But I will try tomorrow. Thanks.

Btw, the environment variable for that auto generated domain is _APP_DOMAIN_FUNCTIONS
...but also, SSL certificates don't generate automatically for those in self-hosted
Recommended threads
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: {聽聽"name":聽"upload-whitelist",聽聽"type"...
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
- Permissions for bulk operation
Hi team, I have a question: 鈥淚n the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
