Rank 2: Process
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.