Back

Custom Domains requires a CNAME pointing to my Appwrite Instance domain

  • 0
  • General
ideclon
3 Nov, 2023, 05:04

I have Cloudflare Access Tunnels in front of my Appwrite instance. When creating a CNAME in Cloudflare for my custom domain, if I don't enable Proxy, CF doesn't actually pass the traffic along at all. But if I do enable it, Appwrite won't verify the domain. I've been able to get around this by disabling Proxy for a couple of seconds whenever I want to add a domain, but this is not optimal.

I would expect Appwrite to actually just check if the domain I've entered points to Appwrite - try making a HTTP request to an expected endpoint or something.

TL;DR
The user is experiencing issues with setting up a custom domain for their Appwrite instance. They are using Cloudflare, but when they create a CNAME in Cloudflare, it either doesn't pass traffic or Appwrite doesn't verify the domain. The user has found a temporary solution by disabling Cloudflare's proxy for a few seconds when adding a domain, but this is not ideal. They suggest that Appwrite should check if the domain points to Appwrite by making an HTTP request to an expected endpoint.
Drake
3 Nov, 2023, 06:36

Ya...it does cname check. But anyways, if you're using cloudflare in front, you may not even need to verify

Drake
11 Nov, 2023, 00:38

Please create a new post instead of posting in someone else's thread

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more