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
- Runtime secret not found. Please re-crea...
Functions aren't working for my project suddenly, They worked fine for the past few weeks and were also working 15-20 minutes ago.
- Unable to see delete option to delete id...
see attached image.
- Region for Personal Projects
I understand that they cannot change, but what about where they are created? Is that supposed to be able to be changed when creating a project?
