Skip to content
Back

Custom Domains with Cloudflare for SaaS - Fastly SSL Error

  • 0
  • 2
  • Sites
  • Web
  • Cloud
azwar
7 Jan, 2026, 07:43

Hi! I'm using Appwrite Cloud Sites with Cloudflare for SaaS for multi-tenant custom domains.

Problem:

Custom domain: donate.pekeetong.my → CNAME to sites.donorcare.my → sgp.cloud.appwrite.io

Browser: Shows "Not Secure" ❌

How do I whitelist custom domains when SSL is managed by Cloudflare for SaaS?

TL;DR
Issue adding custom domain to Fastly due to fqdn already being taken, likely a conflict with Cloudflare's custom hostname. Appwrite Sites can accept custom domains that CNAME through an intermediary for Cloudflare for SaaS compatibility.
7 Jan, 2026, 08:15

Have you added your custom domain in the Domain section of your Site?

7 Jan, 2026, 08:51

Failed to add domain to Fastly: {"errors":[{"title":"Invalid value for fqdn","detail":"fqdn Domain name has already been taken"}]}

7 Jan, 2026, 08:51

this error when add, conflict with cloudflare?

7 Jan, 2026, 08:53

im using custom hostname in cloudflare

7 Jan, 2026, 19:02

but now already reach appwrite, routing issue?

7 Jan, 2026, 19:26

Yes this can possibly be the issue

8 Jan, 2026, 03:18

Can Appwrite Sites accept custom domains that CNAME through an intermediary (e.g., donate.pekeetong.my → sites.donorcare.my → sgp.cloud.appwrite.io) for Cloudflare for SaaS compatibility?

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