How to self-host a Matrix homeserver

Synapse wants RAM sized by rooms and media, not by a vCPU label. Element-docs install, .well-known federation, Postgres, and the public-room limit.
长文正文为英文。页头、目录与结账已翻译。
What people actually host
Matrix: self-hosting is a federation protocol: homeservers exchange rooms with each other the way mail servers exchange mail. Synapse installation is the reference homeserver, and clients such as Element connect through your own domain. Families and small organizations run it so chat metadata — who talks to whom, when — lands in a database they administer instead of a consumer messenger's.
VPS from $3* (fund $50+), storage 1–5 TB NVMe from $24/mo annual-eff, dedicated with IPMI from $30.80/mo. Crypto invoice, no KYC.
Launch nowSize by rooms, not labels
RAM is the axis that matters, and rooms decide it: a household server with a dozen light rooms is comfortable on Warden — 6 vCPU, 16 GB DDR5 ECC, 240 GB NVMe at $19.00 list, $15.20 annual-eff — while federated rooms with active media storage grow past that quickly. Postgres lives on the same box at this scale; media repository and database both sit on local NVMe, where write bursts are absorbed instead of queued.
The install, compressed
- Warden as the starting floor; move up when Postgres and the media store grow past the plan's RAM.
- Follow Synapse installation: install, generate the signing key, and register your server name.
- Publish .well-known/matrix/client and .well-known/matrix/server, and leave 8448 reachable for federation.
- Switzerland is the process-minded default; Iceland when speech posture is the reason; Amsterdam for EU round-trips.
DNS and federation
Federation is DNS plumbing before it is compute: the server name in your user IDs must resolve, .well-known files must point delegates correctly, and port 8448 must answer TLS with a certificate your domain actually owns. Get those three right and rooms join themselves; get one wrong and remote homeservers silently refuse the handshake. Unmetered ports mean federation traffic never meters — the ceiling is the port speed, not a quota.
Location and payment
One list price covers all twenty-one flags, with Iceland at +20% and Switzerland at +35% as the only published premiums — so the flag decision costs nothing but thought. Pay annual and the −20% term applies before coin conversion: USDT for a boring dollar figure, BTC or XMR for a quieter rail, from the same sixteen-coin page. Provisioning runs about a minute after the invoice credits.
Limits
Legal rooms only — the AUP reads the same for a homeserver as for any other service. Federation is public by default: rooms your server joins are visible to the remote servers in them unless you lock the setup down, and no payment method changes that. Encrypted rooms keep payload content private, but membership metadata still crosses the federations your server participates in.
Do you manage Synapse?
No. The platform rents the KVM slice and stays out of the application layer entirely — installs, upgrades, database tuning and moderation are the operator's side of the root login.
Dendrite or Conduit instead?
Both run fine on the same VPS — they are alternative homeservers from the Matrix ecosystem with lighter footprints. The sizing logic stays the same: RAM by rooms and media, Postgres on local NVMe, federation ports open.
How much RAM does a family server need?
A dozen active users in mostly private rooms sit comfortably in Warden's 16 GB at $19.00 list. Federated rooms with heavy media, or bridges to other networks, are what push an install toward Vanguard.
Can I pay annual in USDT?
Yes — the −20% annual term applies to the USD total first, then the invoice converts at the live rate on any of sixteen coins. A dollar-stable quote is exactly the USDT use case.
What ports does federation need?
8448 for server-to-server traffic plus 443 for clients, both open by policy on every plan. The .well-known delegation files are what tell remote homeservers where to knock — federation is DNS correctness before it is bandwidth.
Ready to launch?
Build the box — VPS, storage or bare metal — create the password, pay the invoice that follows.