Skip to content

Commit 3999450

Browse files
Merge pull request #2785 from appwrite/cname-flattening-announcement
2 parents 592e07a + 2cd95cc commit 3999450

File tree

4 files changed

+62
-0
lines changed

4 files changed

+62
-0
lines changed

.optimize-cache.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
"images/blog/announcing-auto-increment-support/cover.png": "83a7b1dd0e31ae86e49fa873cde0b6c0319a552b27dc447b4a214efd7f3fd534",
164164
"images/blog/announcing-bulk-api/cover.png": "78a0fdf3b54ce8412bf6be1880eb4a42bcac2cb04420045a60bce888c8999c6f",
165165
"images/blog/announcing-bun-and-dart/bun-and-dart.png": "ea94af00a5c035cefb6474a9061441803db0160b7cc194fb5a71fbe05abf0d12",
166+
"images/blog/announcing-cname-flattening/cover.png": "3d79ccb4a7f1bac9e32e0456e31fe09f4475e87368e582591799445a7d4a6f3a",
166167
"images/blog/announcing-csv-export/cover.png": "a330a6cc463d94635f905f5b48e6ee8b7c1b3f48b1c7ca0fada2e2b6f62b4ccf",
167168
"images/blog/announcing-csv-imports/cover.png": "47b77b504bdb691afcdf7769b70a5edc610ad525364bff8747d813cc674d549c",
168169
"images/blog/announcing-csv-imports/csv-import.png": "160d2eaa3aacbfc3dee93ffe909dafd848479079bf47cd4149fd915b2cd9b6e1",
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
layout: post
3+
title: "Announcing CNAME flattening support: Connect your domain without changing nameservers"
4+
description: Appwrite Sites now supports CNAME flattening, so you can connect custom domains by adding a DNS record with your existing provider instead of migrating nameservers.
5+
date: 2026-03-06
6+
cover: /images/blog/announcing-cname-flattening/cover.png
7+
timeToRead: 4
8+
author: matej-baco
9+
category: announcement
10+
featured: false
11+
---
12+
13+
If you've connected a custom domain to Appwrite Sites, you know the process required changing your nameservers to Appwrite. For developers already managing DNS through Cloudflare or similar providers, that meant giving up control over caching, security, email routing, and other configurations just to connect a single site.
14+
15+
Appwrite Sites now supports **CNAME flattening**, so you can connect your domain by adding a DNS record with your existing provider instead of migrating nameservers.
16+
17+
# Add a record, not a migration
18+
19+
With CNAME flattening support, connecting a custom domain is just a DNS record away. Keep your existing provider, add a CNAME or ALIAS/ANAME record pointing to Appwrite, and verify the domain in the Console. Once DNS propagates, your site is live with SSL automatically configured. DNS propagation can take anywhere from a few minutes to a few hours depending on your provider and TTL settings.
20+
21+
This is especially useful for teams that rely on their DNS provider for more than just domain resolution. If Cloudflare handles your caching, security headers, or MX records, you no longer have to choose between that setup and Appwrite Sites.
22+
23+
# How CNAME flattening works
24+
25+
Standard DNS rules don't allow CNAME records at the root domain (`example.com`). Only subdomains (`www.example.com`) can use CNAME. CNAME flattening works around this: your DNS provider accepts a CNAME-like configuration at the root, resolves the target internally, and returns the corresponding IP addresses to the client.
26+
27+
Depending on your provider, this goes by different names. Cloudflare calls it **CNAME flattening**, Route 53 uses **ALIAS records**, and some providers support **ANAME records**. The implementation varies, but the result is the same: your root domain can point to a hostname without breaking DNS standards.
28+
29+
# Connect your domain
30+
31+
1. Open your site's domains tab in the Appwrite Console.
32+
2. Add your custom domain.
33+
3. Appwrite provides a CNAME record details.
34+
4. Go to your DNS provider and create a DNS record as described by Appwrite. Providers like Cloudflare will handle CNAME flattening at the root automatically. On other providers, you may need to use an ALIAS or ANAME record for the root domain.
35+
5. Return to Appwrite and verify the domain.
36+
37+
# Available now
38+
39+
CNAME flattening support is available today on **Appwrite Cloud**. Head to your site dashboard, add a custom domain, and follow the updated DNS instructions.
40+
41+
As always, we'd love to hear your feedback. If you run into any issues, join the [Appwrite community](https://appwrite.io/discord) and let us know.
42+
43+
# More resources
44+
45+
- [Read the custom domains documentation](/docs/products/sites/domains)
46+
- [Learn about Appwrite DNS](/docs/products/network/dns)
47+
- [Set up a custom domain for your Appwrite project](/docs/advanced/platform/custom-domains)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: changelog
3+
title: "CNAME flattening support for Appwrite Sites"
4+
date: 2026-03-06
5+
cover: /images/blog/announcing-cname-flattening/cover.png
6+
---
7+
8+
You can now connect a custom domain to Appwrite Sites without changing your nameservers. Appwrite Sites now supports CNAME flattening and similar apex-domain features provided by modern DNS providers.
9+
10+
Instead of migrating nameservers to Appwrite, you can add a DNS record with your existing provider, verify the domain in the Console, and go live. This works with CNAME flattening (Cloudflare), ALIAS records (Route 53), and ANAME records, depending on your provider.
11+
12+
{% arrow_link href="/blog/post/announcing-cname-flattening" %}
13+
Read the announcement
14+
{% /arrow_link %}
855 KB
Loading

0 commit comments

Comments
 (0)