What are the steps for using Appwrite Cloud behind a custom domain and Cloudflare tunnel?
- 0
- Cloud

Hello everyone! 👋🏻
Currently my project in Flutter points directly to Appwrite Cloud:
client.setEndpoint("https://cloud.appwrite.io/v1");
client.setProject("66c47cef102a32340eds");
client.setSelfSigned(status: true);
This all works well. 👍🏻
Now I'd like to put this behind a custom domain, let's say "https://api.example.com". That I'd like to tunnel through Cloudflare as well.
I found this documentation, which seems straight forward: https://appwrite.io/docs/advanced/platform/custom-domains
But I'm confused how to set up the Cloudflare part. I already have my main domain (let's say "example.com") tunneled through Cloudflare. Now I'd like to do the same for "api.example.com".
Another thing I'm wondering is what setEndpoint, setProject and setSelfSigned on the client side look like after setting up my custom domain and Cloudflare tunnel. Is setting the project Id still needed for example? I have this in mind:
client.setEndpoint("https://api.example.com");
client.setSelfSigned(status: true);
Does anyone know which steps to take to set correctly set up a custom domain and Cloudflare tunnen combined with Appwrite Cloud? 😊

What are the steps for using Appwrite Cloud behind a custom domain and Cloudflare?

What are the steps for using Appwrite Cloud behind a custom domain and Cloudflare tunnel?
Recommended threads
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
