Skip to content
Back

HTTPS Error 421 Misdirected Request on Custom Domain (on new Sites section)

  • 0
  • Sites
  • Cloud
Fede_
25 Jul, 2025, 14:25

🐞 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

TypeNameValue
CAAdomain-test.com0 issue "certainly.com"
CNAMEapp.domain-test.comappwrite.network
NSapp.domain-test.comns1.appwrite.zone
NSapp.domain-test.comns2.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!

TL;DR
Developers experiencing HTTPS Error 421 Misdirected Request on Custom Domain `app.domain-test.com` while trying to configure it for a static site on Appwrite. DNS setup is correct but SSL not issued after a significant wait. Requesting Appwrite support for SSL on delegated subdomains via NS records without full root domain control. Solution: Unfortunately, Appwrite does not currently support SSL for subdomains via NS records only. The full root domain control is required for SSL issuance on Appwrite.
Fede_
25 Jul, 2025, 14:26

HTTPS Error 421 Misdirected Request on Custom Domain (on new Sites section)

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