Skip to content
Back to blog

Magichosting

Self-hosting Vaultwarden: your own password manager for the Bitwarden apps

E
Elias Bieber
Estimated reading time: 2 min

Passwords on your own server: install Vaultwarden in one click, secure it with HTTPS, close registration and back it up properly.

VaultwardenBitwardenPassword managerSelf-hostingDocker

Why Vaultwarden?

Vaultwarden is a lean, self-hosted server that works with the official Bitwarden apps and browser extensions. Your passwords are stored encrypted on your own server – not in someone else's cloud. Vaultwarden needs hardly any resources: the Autoinstaller only requires 512 MB RAM.

One-click installation

  1. Open the Autoinstaller tab in your server's dashboard and choose Vaultwarden.
  2. The installer sets up Docker and starts Vaultwarden under /opt/vaultwarden on port 80.
  3. Point a subdomain such as vault.your-domain.com at your server's IPv4.

With Nginx Proxy Manager on the same server

Vaultwarden and Nginx Proxy Manager both want port 80. So move Vaultwarden to a local port and let the proxy accept the HTTPS connection:

yaml
# /opt/vaultwarden/docker-compose.yml – port local only, the reverse proxy handles HTTPS
services:
  vaultwarden:
    image: vaultwarden/server:latest
    restart: unless-stopped
    ports:
      - "127.0.0.1:8081:80"
    environment:
      DOMAIN: "https://vault.your-domain.com"
      SIGNUPS_ALLOWED: "false"   # set only after your account exists
    volumes:
      - ./data:/data

Then run cd /opt/vaultwarden && docker compose up -d. In Nginx Proxy Manager, create a proxy host for your subdomain (target: the host's Docker bridge IP, usually 172.17.0.1, port 8081), enable websockets and request a Let's Encrypt certificate.

Securing and backing up

  • Close registration: Once your account (and those of your family or team) exists, set SIGNUPS_ALLOWED: "false".
  • Strong master password: Without the master password nobody gets to the data – not even you. Also enable two-factor login in your account.
  • Backups: Everything lives in /opt/vaultwarden/data (database, attachments, keys). Back up the folder regularly to a second location and use the backup slots in the dashboard.

Frequently asked questions

Is Vaultwarden the same as Bitwarden?

Vaultwarden is an independent, resource-friendly server implementation that is compatible with the Bitwarden clients. It is not an official Bitwarden product.

How much power does Vaultwarden need?

Very little. A small server is enough for a family or small team; Vaultwarden runs happily alongside other services.

What happens if the server goes down?

The apps keep an encrypted copy of your vault offline. In an emergency, the backup of /opt/vaultwarden/data still matters most.

Was this post helpful?

MagicHosting – Hosting with real value

Hosting pays off with MagicHosting: fair pricing, current deals and operation in SkyLink RZ. Servers, domains and personal support – no hidden costs.

  • Current limited offers from our server exchange
  • Affordable domains with transparent pricing and great offers
  • Powerful DDoS protection for maximum availability
  • Personal support when you have questions or issues