Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite running on backend.domain1.com, for another project I would like to add custom domain backend.domain2.com.
-) I have tried adding a CNAME to domain2 with forward to domain1 but then the cert generation fails. -) I have tried adding a cloudflare tunnel to point at the port of the appwrite instance but I cannot log in. -) I have tried setting up /.well-known/acme-challenge/* as a tunnel rule while keeping a simple cname to forward to but it also doesnt work.
Am I missing something or how can I make this work? I would like to use appwrite for both domains in parallel. so be accessible via backend.domain1.com and backend.domain2.com.
make sure cloudflare proxy (orange toggle) is off for the cname flattening to work
if your using traefik :
- the default cert method is HTTP, which need HTTP + HTTPS reachable from the outside
- try using a dns cert instead (what i'm doing)
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...