
Hello everyone,
I'm facing an issue with the Appwrite dashboard where it generates URLs for functions in an incorrect format. The URLs currently look like this:
6726d46da941bbf9cbfd.https://appwrite.xxxx.app
However, the correct format should be:
6726d46da941bbf9cbfd.appwrite.xxxx.app
I'm self-hosting Appwrite using Coolify, and I've reviewed my domain and server configurations, which all seem to be set up correctly.

What does your environment variable for _APP_DOMAIN_FUNCTIONS
have?

My _APP_DOMAIN_FUNCTIONS
is set to $SERVICE_FQDN_APPWRITE
.
Coolify uses this variable, $SERVICE_FQDN_APPWRITE
, as the main URL for the dashboard.

does that include the https://?

That's probably your issue.

Yes, it is included. I tried removing it, but when I create a function, it still generates the same URL format (https://...).
I also tried using a new subdomain I created, but it doesn't load the new subdomain. It keeps defaulting to the main dashboard URL.

I am updating the .env file from the Coolify dashboard. After making the updates, I restart the system.

Do you have recreated the containers?

not sure about that


Anyupdates plz ?

If you installed appwrite with the default commands, you should recreate them with docker compose up -d
I recommend having backups

None of this was helpful initially. Coolify automatically added https://
at the beginning of the domain. I was able to fix the issue by manually removing the https://
from the SERVICE_FQDN_APPWRITE
field in the dashboard's Production Environment Variables. Now, the URL format is generated correctly.

Interesting. Can I mark this as solved then?

yes you can
Recommended threads
- availability appwrite 1.8.0
when will the new server version be available for selfhosted?
- [GO] How to work with multiple local pac...
While deploying I get the error `my_module/sub: package my_module/sub is not in std (/usr/local/go/src/my_module/sub)` my code has only one module `my_module`...
- Build-in user attributes unique
Hey! I have a question, i'm creating user via account.create and i was wandering if there is possibility to make name and email unique. I don't wont to go throu...
