You can self host Etherpad on a VPS in about half an hour: provision a small Linux server, install Node.js and the Etherpad package, put it behind a reverse proxy with HTTPS, and keep it running with a systemd service. The result is your own real-time collaborative editor at your own domain, with no third-party account and full control of the data. This guide walks through that on a fresh Ubuntu or Debian VPS using the official Etherpad release tarball, Nginx as the reverse proxy, and Let's Encrypt for the certificate. Menu names and file paths can differ slightly by version, so treat exact labels as a guide rather than gospel.

What You'll Need

  • A VPS running a current Ubuntu LTS or Debian release, with root or sudo access. 1 GB of RAM is workable for a small team; 2 GB is comfortable.
  • A domain or subdomain (for example pad.example.com) with an A record pointing at the VPS IP address.
  • SSH access to the server, and a terminal on your own machine.
  • Node.js and npm (Etherpad requires a supported LTS version; check the current requirement in the official docs before installing).
  • A database. Etherpad ships with an embedded database that suits small installs; for anything beyond a handful of users, plan on PostgreSQL or MariaDB.
  • Ports 80 and 443 open in the VPS firewall, and outbound access for package installs and certificate issuance.

Step-by-Step

  1. Update the server and create a dedicated user. SSH in as root, run apt update && apt upgrade -y, then create a non-root service account with adduser --system --home /opt/etherpad --group etherpad. Running Etherpad as its own user limits the damage if the process is ever compromised.
  2. Install Node.js. Use the official NodeSource repository or your distribution's package, and install a version Etherpad currently supports. Verify with node -v and npm -v. Installing Node via a random third-party script is a common source of later breakage.
  3. Download and unpack Etherpad. Fetch the latest release tarball from the official Etherpad site or GitHub releases, unpack it into /opt/etherpad, and set ownership to the etherpad user with chown -R etherpad:etherpad /opt/etherpad.
  4. Install dependencies. From inside the Etherpad directory, run npm install (some releases use pnpm; follow the release notes). This step pulls a lot of packages and can take several minutes on a small VPS.
  5. Configure settings. Copy settings.json.template to settings.json and edit it. At minimum set a strong sessionKey, choose your database backend, and set the title and favicon. If you use PostgreSQL or MariaDB, create the database and user first, then fill in the connection block. Keep this file readable only by the etherpad user.
  6. Test it locally. Start Etherpad manually once with npm run prod (or the start command in the release notes) and confirm it answers on its default port, usually 9001, via curl http://127.0.0.1:9001. Stop it with Ctrl+C once you see a response.
  7. Create a systemd service. Write a unit file at /etc/systemd/system/etherpad.service that runs the start command as the etherpad user with the working directory set to /opt/etherpad, then run systemctl daemon-reload, systemctl enable etherpad and systemctl start etherpad. Check status with systemctl status etherpad.
  8. Put it behind Nginx. Install Nginx, create a server block for your subdomain that proxies to http://127.0.0.1:9001, and include the headers Etherpad needs for WebSockets (Upgrade and Connection). Reload Nginx and confirm the pad loads over plain HTTP first.
  9. Add HTTPS. Install Certbot and run it for your Nginx site so it fetches a Let's Encrypt certificate and configures the redirect from HTTP to HTTPS. Reload Nginx and test that the pad loads over https and that two browsers can edit the same pad in real time.
  10. Harden and back up. Enable the firewall for SSH, HTTP and HTTPS only, keep Etherpad bound to localhost, set up automatic security updates, and schedule a backup of the database and the Etherpad data directory. Test a restore before you rely on it.

Common Mistakes

The most frequent failure is skipping the reverse-proxy WebSocket headers, which makes pads load but never sync between users. The second is running Etherpad as root or with world-readable settings, exposing the session key. Others include installing an unsupported Node version, forgetting to open ports 80 and 443, and pointing the DNS record at the wrong IP so certificate issuance fails. Editing settings.json while the service is running and expecting changes to apply without a restart is another common trip-up.

Tips

Keep Etherpad on localhost and let Nginx handle TLS; do not expose port 9001 publicly. Pin your Node and Etherpad versions and read release notes before upgrading, since major upgrades sometimes need a migration step. For teams of more than a few people, move to PostgreSQL early rather than migrating later. Put the data directory on a volume you back up separately, and monitor disk space, because pad history grows over time. If you plan to allow public pads, enable authentication or restrict access at the proxy.

Troubleshooting

If the pad loads but edits do not appear for other users, check the Nginx proxy headers for WebSocket upgrade and confirm the browser console shows a successful socket connection. If the service will not start, read journalctl -u etherpad for the actual error, which is usually a missing dependency, a bad database credential or a permissions problem on the data directory. If HTTPS fails, confirm DNS resolves to the server and that port 80 is reachable for the ACME challenge. If you see a blank page after an upgrade, clear the browser cache and check that static assets are being served through the proxy path. If the database will not connect, verify the host, port, user and password in settings.json and that the database service is running.

Frequently Asked Questions

Do I need a domain name?

Not strictly, but you need one for a trusted HTTPS certificate. You can test on the IP address over HTTP, but do not run a real deployment that way.

Can I run Etherpad on 1 GB of RAM?

Yes for a small number of users. Memory use grows with concurrent pads and plugins, so watch usage and resize if needed.

Which database should I use?

The embedded database is fine for testing and tiny installs. Use PostgreSQL or MariaDB for anything you care about.

How do I upgrade Etherpad?

Back up first, stop the service, replace the code with the new release, reinstall dependencies, check the release notes for migration steps, then start the service and test.

Is self-hosted Etherpad private?

It is as private as your server and configuration. Use HTTPS, restrict access, keep the session key secret and back up regularly.

Can I use a subdomain like pad.example.com?

Yes, and it is the usual setup. Point the A record at the VPS and use that hostname in the Nginx server block and certificate request.