#custom domain with CloudFlare

8 messages · Page 1 of 1 (latest)

signal rover
#

Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to cloud.appwrite.io which I strongly think is also hosted in CloudFlare.

Adding A record will be a tough one too, as CloudFlare should have dynamically assign IP to all domains registered and hosted with them, so this option is also out of the question for now. Unless our Appwrite dev does have any info regarding IP Address pointing to cloud.appwrite.io which will greatly help us (CloudFlare users).

Any other option? I can't move my domain to another hosting company as it's newly registered (I do think I need to wait 6 month?). Does appwrite have other domain out of CloudFlare?

Asking for any workaround for this, as this should improve deep-link / Oauth2-related functions. Thanks in advance.

torn prawn
#

You need to add the CNAME without cloudflare proxy. That way cloudflare only serves as DNS server and doesnt do the proxying. This how it looks on my personal account:

#

(the app hostname will still be ddos protected because cloud.appwrite.io is cloudflare proxied)

tawny rune
#

@torn prawn That didn't works

torn prawn
#

What exactly is not working? I just tested this on my personal account, creating a new CNAME record with proxy turned off and I was able to point it to cloud.appwrite.io and have it invoke a function. Can you post more information what is failing? Any error messages or screenshots?

tawny rune
#

I couldn't do that, the message shown by cloudflare was the same even without cloudflare proxy...

strong marsh
#

This indeed does work.

tawny rune
#

Well, so I'll open a ticket to cloudflare instead of appWrite, thanks!