Matrix server hosting on your own offshore VPS
Which homeserver to run in November 2026, how much memory it needs, and a full Synapse setup on Debian 13 behind Caddy, on a server you rent with crypto.
Short answer
You can host a Matrix server on a VPS you pay for with crypto, Monero included, and no ID. For a small group, run Synapse with PostgreSQL on a 2 GB plan (Mooring, $5.18 a month); joining big public rooms or adding bridges calls for 4 GB (Anchor, $8.33). Messages stay end-to-end encrypted; room metadata stays on your server.
Matrix on a Marisle VPS: the facts
- Coins
- Monero (XMR), Bitcoin, USDT (TRC-20, ERC-20), USDC, Ether, Solana, Litecoin
- ID check (KYC)
- None: no ID, selfie, phone number or card
- Optional, only to recover a lost account number
- Plan for a small homeserver
- Mooring: 1 vCPU, 2 GB RAM, 40 GB NVMe, 4 TB traffic, $5.18 a month (price of 26 Nov 2026)
- Plan for big rooms or bridges
- Anchor: 2 vCPU, 4 GB RAM, 80 GB NVMe, 8 TB traffic, $8.33 a month
- Minimum term
- 3 months on plans under $15 a month ($15.54 for Mooring, $24.99 for Anchor)
- Delivery
- A person sets up the server after payment, aiming for within one hour
- System
- Debian 13 available; root over SSH, KVM with its own kernel
- Network
- 1 dedicated IPv4, routed IPv6 /64; outgoing port 25 closed (465 and 587 open)
Every size is on the pricing page. Same price in Amsterdam, Reykjavik, Zurich and Bucharest.
Which homeserver to run (status on 26 November 2026)
The Matrix.org Foundation lists about twenty homeserver programs, most of them abandoned. Four names come up when people plan a small private server, and their state has changed a lot in the past year. We checked each project's own repository today.
- Synapse (Python, by Element). The reference server, marked stable by Matrix.org. Release v1.166.0 came out on 24 November 2026, and releases follow roughly every two weeks. It has official Debian packages and a Docker image, and every Matrix guide assumes it. Choose it unless you have a reason not to.
- Tuwunel (Rust). The successor to conduwuit, marked stable by Matrix.org, with v2.1.0 released on 25 November 2026. One binary with an embedded database, so no PostgreSQL to run. It ships an apt repository and Docker images.
- Conduit (Rust). Still maintained: v0.10.17 was released on 14 November 2026. Matrix.org labels it beta.
- Dendrite (Go). The project README says it is in maintenance mode with only security fixes applied; the last commit we saw is dated 20 May 2026 and the last tagged release is v0.15.2 from August 2025. We would not start a new server on it.
conduwuit itself was archived by its owner on 29 May 2026 and points to Tuwunel. A second community fork, continuwuity, is marked stable on Matrix.org and says it cuts a release every week or two.
The rest of this page uses Synapse, because its documentation is the most complete and a mistake is easiest to fix with it. The domain, reverse proxy and delegation parts apply to the Rust servers too.
How much RAM a Matrix server needs
Few homeserver projects publish a hard number. The Synapse installation guide gives one: it asks for at least 1 GB of free RAM if you plan to join large public rooms such as #matrix:matrix.org (read 26 Nov 2026). Free means left over after the system, PostgreSQL and the reverse proxy have taken their share. Dendrite's README promises only a small memory footprint for deployments of tens to hundreds of users; Tuwunel, continuwuity and Conduit give no figure in the pages we read.
What drives memory is not how many accounts you host but how big the rooms are that those accounts join. A server with three people who only talk to each other stays small. A single user who joins a public room with tens of thousands of members makes your server download and track that room's whole state, and Synapse's memory grows with it.
Our reading of that, not a benchmark:
- Mooring (2 GB): Synapse, PostgreSQL and Caddy for a handful of people in private rooms, plus federation with friends on other servers.
- Anchor (4 GB): the same plus a few large public rooms, or bridges to Signal, WhatsApp or Telegram, which each run as extra processes.
- Keel (8 GB) or more: a community server where many users join big federated rooms. Large rooms are the case where a small VPS fails, and we would rather you size up than fight the out-of-memory killer.
Buoy (1 GB) can run Tuwunel or Conduit for one or two users, but it leaves no room for Synapse and PostgreSQL together.
Disk is the other thing that grows: media uploads and cached remote media are kept forever unless you set media_retention. 40 GB on Mooring lasts a small group a long time; watch it with df -h.
Set up Synapse on Debian 13, step by step
The example uses example.com as the Matrix name (users become @alice:example.com) and matrix.example.com as the host that actually runs Synapse. Replace both with your own domain. Commands run as root.
Order the VPS and point DNS
Pick Mooring or Anchor with Debian 13 on the pricing page. When the server is ready, create A (and AAAA) records for matrix.example.com and, if Caddy will serve the delegation file, for example.com too, both pointing at the VPS.
Install PostgreSQL, Caddy and Synapse
Debian 13 carries PostgreSQL and Caddy. Synapse comes from the matrix.org package repository, which has a
trixiechannel (amd64 only). The installer asks for the server name: enter example.com, not the subdomain, because it can never be changed later.Create the database
Make a database user and a database with the C locale, then tell Synapse to use PostgreSQL instead of the SQLite file the package starts with. The Synapse docs say SQLite should not be used in production.
Set the public URL and keep registration closed
Registration is off by default (
enable_registration: false). Leave it off and create accounts yourself with a shared secret, so nobody can sign up on your server uninvited.Put Caddy in front and delegate
Caddy gets a TLS certificate by itself, sends Matrix traffic to Synapse on port 8008, and answers the two
.well-knownfiles that tell clients and other servers where @example.com actually lives.Create your admin account and test federation
Register the first user with the shared secret, log in from Element or any Matrix client, then check the domain in the Matrix federation tester at federationtester.matrix.org.
apt update
apt install -y postgresql caddy lsb-release wget apt-transport-https
wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg \
https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ $(lsb_release -cs) main" \
> /etc/apt/sources.list.d/matrix-org.list
apt update
apt install -y matrix-synapse-py3 # answer "example.com" as server namesudo -u postgres createuser --pwprompt synapse_user
sudo -u postgres createdb --encoding=UTF8 --locale=C \
--template=template0 --owner=synapse_user synapse
# /etc/matrix-synapse/conf.d/database.yaml
database:
name: psycopg2
args:
user: synapse_user
password: "the-password-you-chose"
dbname: synapse
host: localhost
cp_min: 5
cp_max: 10public_baseurl: "https://matrix.example.com/"
enable_registration: false
# Synapse creates this file with a random secret on first start
registration_shared_secret_path: /var/lib/matrix-synapse/registration_secret
# Optional: purge cached media from other servers after 90 days
media_retention:
remote_media_lifetime: 90dexample.com {
header /.well-known/matrix/* Content-Type application/json
header /.well-known/matrix/* Access-Control-Allow-Origin *
respond /.well-known/matrix/server `{"m.server": "matrix.example.com:443"}`
respond /.well-known/matrix/client `{"m.homeserver": {"base_url": "https://matrix.example.com"}}`
}
matrix.example.com {
reverse_proxy /_matrix/* localhost:8008
reverse_proxy /_synapse/client/* localhost:8008
}systemctl restart matrix-synapse caddy
register_new_matrix_user -k "$(cat /var/lib/matrix-synapse/registration_secret)" \
-u alice -a http://localhost:8008
curl https://example.com/.well-known/matrix/server
curl https://matrix.example.com/_matrix/client/versionsPort 8448 or delegation
Other homeservers look for yours on port 8448 of the server name unless told otherwise. You have two ways to satisfy them:
- Delegation (the Caddyfile above).
https://example.com/.well-known/matrix/serveranswersmatrix.example.com:443, so federation shares port 443 with clients and 8448 can stay closed. The file must be served over HTTPS on port 443 of the bare domain. If example.com is a website hosted elsewhere, put the two JSON files on that web server instead of in Caddy. - Port 8448 directly. If example.com itself points at the VPS and you would rather not publish
.well-knownfiles, add a second site blockexample.com:8448 { reverse_proxy /_matrix/* localhost:8008 }as the Synapse reverse-proxy guide shows, and allow 8448 in your firewall.
The Synapse docs advise against SRV records for this: they complicate the TLS certificate and only cover server-to-server traffic.
The Caddyfile above does not forward /_synapse/admin, so the admin API answers only on the server itself. Reach it through an SSH tunnel, or add a WireGuard tunnel on the same VPS and keep admin tools off the public internet. Synapse's email notifications need an outside SMTP relay on port 587 or 465, because outgoing port 25 is closed on every Marisle server.
What an offshore server changes, and what it does not
Running your own homeserver moves your account, contact list and room membership off matrix.org or a company's server and onto a machine you control. Renting that machine with Monero, without an ID, keeps your name out of the hosting bill. Where it sits decides which country's courts can reach the disk: the four jurisdictions are the Netherlands, Iceland, Switzerland and Romania, and each data center follows its own country's law.
That is where the change ends.
- End-to-end encryption is the client's job, not the host's. Element encrypts new direct messages and private rooms by default. A server in Zurich or one in Frankfurt sees the same ciphertext. Public rooms are usually not encrypted at all.
- Metadata lives on the homeserver. Synapse stores who is in which room, when each event was sent, device lists, IP addresses of clients and unencrypted state such as room names and avatars unless rooms are set up otherwise. Anyone who seizes or images the disk gets that, wherever the disk is.
- Federation copies your messages. Every server with a member in a room keeps its own copy of that room's events. If @alice:example.com chats with someone on matrix.org, matrix.org has the encrypted messages and all the metadata too, under its own jurisdiction. Deleting your server does not delete those copies.
- The domain name is a record. Your registrar and DNS provider know which domain points at the VPS. Choose them with the same care as the host.
For a group that should not federate at all, set federation_domain_whitelist to an empty list, or to a short list of trusted servers. That keeps every copy on your own server, at the price of not talking to the rest of Matrix. More on what an offshore host can and cannot protect is on offshore hosting explained.
Matrix hosting options compared
Managed hosts run the homeserver for you; a VPS leaves you the work and the control. Prices are what each provider's own page showed today; where no price is published, we say so.
| Option | What you get | Price shown | Who runs it | Crypto, no ID |
|---|---|---|---|---|
| Element Server Suite Community | Synapse, Element Web and more, deployed on your own Kubernetes cluster with Helm | Free software; you pay for the hardware | You | Depends on the hardware you rent |
| Element Server Suite Pro | Enterprise edition with support and extra features | Per seat, from 100 users; no figure on the pricing page | You, with Element support | Not stated |
| etke.cc | Managed Matrix set up and maintained on your server, or on a Hetzner Cloud server it rents | From €5 ($5.47) a month on your server; from €17 ($18.59) with their server | etke.cc | Not stated on the page we read |
| Communick | Managed Matrix server, "Medium" size for about 100 users, 14-day trial | $49.00 a month | Communick | Not stated on the page we read |
| Marisle VPS + your homeserver | KVM VPS, root access, Debian 13; you install Synapse or Tuwunel | Mooring $5.18 a month, Anchor $8.33 (3-month minimum) | You | Yes: Monero and 6 other coins, no KYC |
etke.cc's €5 price is for its service on a server you already have, so it can sit on top of a Marisle VPS. The Matrix.org Foundation keeps a wider list of providers at matrix.org/ecosystem/hosting, without prices and without endorsing any of them.
Matrix hosting questions
What is a Matrix server?
A homeserver: the program that holds Matrix accounts for one domain, stores their rooms and messages, and exchanges events with other homeservers over federation. Your user ID, such as @alice:example.com, names the homeserver that hosts you. Synapse, Tuwunel and Conduit are homeserver programs.
Which Matrix server is best?
For most people starting today, Synapse: it is the reference implementation, released every few weeks (v1.166.0 on 24 Nov 2026) and covered by the most documentation. Tuwunel is the lighter choice if memory is tight. Dendrite is in maintenance mode with only security fixes, so we would not start on it.
Is Matrix free to use?
The protocol and the main servers and clients are free and open source, and you can make an account on matrix.org at no cost. Running your own server costs whatever the machine costs: on Marisle, from $5.18 a month for the 2 GB plan, rented for at least 3 months.
Is Matrix self-hosted?
It can be, and that is the point of its design: anyone can run a homeserver for their own domain and still talk to users on every other server. You can also stay on a public server like matrix.org or pay a managed host.
Where can I host a Matrix server privately and pay with crypto?
On any VPS host that takes crypto without an ID check. At Marisle you pay in Monero, Bitcoin or one of five other coins, give no name or ID, and get root on a Debian server in the Netherlands, Iceland, Switzerland or Romania. Keep in mind that federation copies room metadata to the other servers in each room.
Sources
- Installation instructions · Synapse documentation (Element) ·
- Using a reverse proxy with Synapse · Synapse documentation (Element) ·
- Delegation of incoming federation traffic · Synapse documentation (Element) ·
- Using Postgres · Synapse documentation (Element) ·
- Configuration manual · Synapse documentation (Element) ·
- Synapse releases · Element (GitHub) ·
- matrix.org Debian package repository · Matrix.org ·
- Servers · The Matrix.org Foundation ·
- Hosting · The Matrix.org Foundation ·
- Server discovery (.well-known) · Matrix specification ·
- Tuwunel releases · matrix-construct (GitHub) ·
- Conduit · Famedly (GitLab) ·
- Dendrite README · Element (GitHub) ·
- conduwuit (archived) · conduwuit (GitHub) ·
- Element Server Suite · Element ·
- Pricing · Element ·
- Managed Matrix hosting · etke.cc ·
- Matrix hosting · Communick ·
Rent the server for your homeserver
Mooring (2 GB) for a small private server, Anchor (4 GB) for big rooms and bridges. Pay in Monero or another coin; a person sets the server up, aiming for within one hour.
Paid to Marisle LLC, New Mexico · built by a person, target one hour · idle days credited back (refunds)