
🐞 HTTPS 421 on app.domain-test.com
📌 Context
I'm trying to configure app.domain-test.com
as a custom domain for a static site on Appwrite.
- DNS managed via Cloudflare (proxy disabled, DNS only).
- Root domain
domain-test.com
stays on Cloudflare. - Delegated subdomain
app.domain-test.com
to Appwrite via NS records at registrar.
✅ Current DNS Setup
Type | Name | Value |
---|---|---|
CAA | domain-test.com | 0 issue "certainly.com" |
CNAME | app.domain-test.com | appwrite.network |
NS | app.domain-test.com | ns1.appwrite.zone |
NS | app.domain-test.com | ns2.appwrite.zone |
🔍 Tests Done
- ✅ DNS resolves correctly to
appwrite.network
- ✅ Domain added as Site in Appwrite Console
- ❌ Browser shows:
421 Misdirected Request
- ⏳ SSL not issued after 1+ hour
- ❌ Full root domain delegation not possible due to Cloudflare restrictions
🙏 Request
Can Appwrite support SSL for delegated subdomains via NS records only (e.g. app.domain-test.com
) without needing full root domain control?
Thanks!

HTTPS Error 421 Misdirected Request on Custom Domain (on new Sites section)
Recommended threads
- Appwrite Sites - getaddrinfo ENOTFOUND
Has anyone had a problem having appwrite on a subdomain in the project custom domains? We have an issue with the Appwrite Sites. Sometimes the internal node:dns...
- Appwrite DNS - semicolon bug
does appwrite escape semicolon character ";" in the TXT or any record ? We are setting DMARC and DKIM records for Google and it looks like that the value is cut...
- Appwrite Sites - Subdomain bug
I would recommend to limit the number of subdomains (by removing the dot "."), otherwise it throws Fastly error
