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
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...