datapi365 Setup help

Guides › Self-host open-source software on a VPS · Episode 1

Install Uptime Kuma on a VPS: 24/7 website monitoring with instant alerts

Updated 27/11/2026 · about 7 min read

Your company website goes down at 2 a.m. and you only find out when a customer calls in the morning. Uptime Kuma is free, open-source software you run on your own VPS. It checks your websites and servers on a schedule and alerts you on Telegram, email or many other channels the moment something breaks.

This guide contains referral links: Datapi365 may earn a commission if you buy, at no extra cost to you. Datapi365 is an independent site and is not a partner or representative of the Uptime Kuma project. Affiliate disclosure

Software: Uptime Kuma · Source repo: github.com/louislam/uptime-kuma · License: MIT

Install commands and system requirements below come from the repo's README, read on 27/11/2026. If the project changes its install steps, follow the latest README.

What Uptime Kuma does and who it's for

  • Scheduled checks for websites (HTTP/HTTPS, optionally looking for a keyword on the page), servers (ping), service ports (TCP), DNS records and Docker containers, as often as every 20 seconds.
  • https certificate info, with reminders before a certificate expires.
  • Alerts via Telegram, email (SMTP), Slack, Discord and 90+ other services.
  • Public status pages so customers can see what's up or under maintenance; they can sit on your own domain.
  • Two-factor authentication for the admin account.

A good fit for a small company with a few websites, an online shop, internal tools or a CRM server that wants to hear about problems before customers do, without paying per monitor.

Prepare the VPS

Put Uptime Kuma on a different VPS from the websites it watches. If both live on one machine and that machine goes down, Uptime Kuma goes down with it and nobody gets alerted. Use a separate VPS, ideally with another provider or in another location.

According to the README (read 27/11/2026):

  • Operating system: major Linux distros such as Debian, Ubuntu, Fedora and ArchLinux; Windows 10 (x64), Windows Server 2012 R2 (x64) or later. FreeBSD, OpenBSD and NetBSD are not supported.
  • Install with Docker (used in this guide), or without Docker you need Node.js 20.4 or later, Git and pm2.
  • NFS network file systems are not supported for the data. Keep data on the VPS's own disk or a Docker volume.
  • RAM and CPU: the README gives no minimum figures, so this guide doesn't make any up. Start with a small VPS plan, check usage after a few days with docker stats, and upgrade if needed.

The VPS needs Docker installed. Per-OS instructions are in Docker's official docs; many VPS providers also offer OS templates with Docker preinstalled.

Prices and plan details: see the provider's site.

Install with Docker

  1. Log in to the VPS over SSH with a sudo-capable account.
  2. Run the install command (from the README, read 27/11/2026):
    docker run -d --restart=always -p 127.0.0.1:3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:2

    The README's default command uses -p 3001:3001, which opens port 3001 on every network interface: anyone who knows the IP reaches the login page over unencrypted http. The README suggests adding 127.0.0.1: to listen on localhost only; this guide does that, then exposes it over https in the next step.

  3. Check the container is running:
    docker ps
    A line for uptime-kuma with status Up means it's working. Data lives in the Docker volume named uptime-kuma.

Using Docker Compose? The README also shows downloading compose.yaml and running docker compose up -d. Per the README, that also listens on all interfaces; edit the ports entry to 127.0.0.1:3001:3001 before starting.

Watch out for look-alike sites: the README warns that the top Google result, uptimekuma.co, is not the project's official site. Follow only the guide in the GitHub repo.

Serve it on your domain over https

  1. Create a subdomain such as status.yourcompany.com with an A record pointing to the Uptime Kuma VPS's IP.
  2. Install a web server as a reverse proxy (Caddy, Nginx…) on the same VPS, forwarding the domain to 127.0.0.1:3001 with an https certificate. With Caddy (install per Caddy's docs), /etc/caddy/Caddyfile only needs:
    status.yourcompany.com {
        reverse_proxy 127.0.0.1:3001
    }
    Caddy gets the https certificate automatically and passes through the WebSocket connections Uptime Kuma needs. With Nginx, remember to enable WebSocket forwarding; see the project's install wiki.
  3. Firewall: open only SSH, 80 and 443. Port 3001 doesn't need to be open to the outside.
  4. Open https://status.yourcompany.com. When you see Uptime Kuma's account setup page, you're done.

First-time setup

  1. Create the admin account straight away (whoever opens the page first can create it). Use a strong password, then turn on two-factor authentication in the security settings.
  2. Add an alert channel (Notifications): Telegram or a company email. Send a test to make sure it arrives.
  3. Add a monitor (Add New Monitor): choose HTTP(s) for a website, enter the address, attach the alert channel. For a shop, HTTP(s) Keyword also checks for a word that must be on the page, catching blank-page errors.
  4. Turn on certificate expiry reminders for https sites so browsers never flag them “not secure” because a renewal was missed.
  5. Create a status page if you want customers to check service status themselves.

Backups and updates

  • Backups: everything (accounts, monitors, history) lives in the uptime-kuma volume. Turn on regular VPS backups or snapshots with your provider; to be safer, also copy the volume's data folder somewhere else.
  • Updates: follow the project's update guide and read the release notes before a major version. Back up first.
  • Watch the watcher: the Uptime Kuma machine can fail too. Have another monitoring tool somewhere else check status.yourcompany.com.

License

Uptime Kuma is released under the MIT license: free to use, including commercially, to modify and to install for others, as long as the original copyright and license notice are kept. It comes “as is”, without warranty. Full text in the repo's LICENSE file.

FAQ

Does Uptime Kuma cost anything?

The software is free. You only pay for the VPS it runs on (see the provider's prices).

Can I run it on the same VPS as my website?

It will run, but it defeats the purpose: when that VPS goes down, Uptime Kuma goes with it and can't alert you. Use a different machine.

Not comfortable with the command line?

See Setup support, or common VPS setup errors if you're stuck on a step.

Keep reading