Special Offers: Up to 75% OFF on Hostinger & High-RAM Contabo Cloud VPS available this month.Compare Plans

How to Install Uptime Kuma on Ubuntu VPS: Self-Hosted Ping & Service Monitor

Marcus Sterling
Marcus SterlingDevOps & Cloud Engineer
October 31, 2026
•
15 min read
•
4.8 / 5.0
Transparency Notice: This article contains affiliate links to hosting providers like Hostinger and Contabo. If you purchase through our links, we may earn a commission at zero extra cost to you. We only recommend products we personally benchmark and test. Read full disclosure.
How to Install Uptime Kuma on Ubuntu VPS: Self-Hosted Ping & Service Monitor
Best Hardware Value for TechsNo Contract Surcharges + High RAM

Contabo High-Performance Cloud VPS

Massive 4 vCPU cores, 8GB RAM, and 32TB monthly traffic. Ideal for Linux developers.

German Engineering & Data Centers
8 Strategic Global Locations
Fast NVMe Storage Array
Full Root & SSH Console Access
Starts From
$5.50 / mo
Special Affiliate Pricing
Claim Discount Now
Official Partner Link • Verified Safe

Why You Should Never Host Monitoring on the Same Server

When your production web server encounters a hardware kernel panic, power failure, or network routing outage, any internal monitoring script on that machine dies along with it. To receive reliable downtime alerts, monitoring tools like Uptime Kuma must live on an independent, isolated cloud server (such as an affordable $5.50 Contabo VPS).

Step 1: Installing Docker and Creating Volume

sudo apt update && sudo apt install -y docker.io docker-compose-plugin
sudo docker volume create uptime-kuma

Step 2: Deploying Uptime Kuma Container

sudo docker run -d \
  --restart=always \
  -p 127.0.0.1:3001:3001 \
  -v uptime-kuma:/app/data \
  --name uptime-kuma \
  louislam/uptime-kuma:1

Step 3: Configuring Nginx Reverse Proxy with SSL

sudo nano /etc/nginx/sites-available/status.yourdomain.com
server {
    listen 80;
    server_name status.yourdomain.com;

    location / {
        proxy_pass http://127.0.0.1:3001;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
    }
}
sudo ln -s /etc/nginx/sites-available/status.yourdomain.com /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
sudo certbot --nginx -d status.yourdomain.com

Step 4: Setting Up Telegram and Discord Downtime Webhooks

In the Uptime Kuma dashboard (https://status.yourdomain.com):

  1. Click Settings -> Notification and click Setup Notification.
  2. Select Telegram or Discord.
  3. Paste your Bot Token or Webhook URL.
  4. Click Test. You will receive an instantaneous test ping on your phone.

Step 5: Publishing a Public Client Status Page

Uptime Kuma allows building public status dashboards without revealing internal IP addresses. Go to Status Pages, click New Status Page, assign custom slug /status, add your monitored web services, and attach your company logo.

Editorial Verdict: Pros & Cons

What We Love (Pros)

  • Monitor hundreds of websites, APIs, TCP ports, and Docker containers for free
  • Instant push alerts to Discord, Slack, Telegram, Webhooks, and Email
  • Custom branded public status pages for clients with incident history tracking
  • Lightweight Node.js footprint consuming under 100MB of RAM

Drawbacks (Cons)

  • Must be hosted on an independent server so an outage on your main host doesn't bring down your monitor
Best Hardware Value for TechsNo Contract Surcharges + High RAM

Deploy Your Contabo Cloud Server

Includes 4 vCPU Cores, 8GB RAM, 50GB NVMe SSD, and 32TB Outbound Traffic.

German Engineering & Data Centers
8 Strategic Global Locations
Fast NVMe Storage Array
Full Root & SSH Console Access
Starts From
$5.50 / mo
Special Affiliate Pricing
Claim Discount Now
Official Partner Link • Verified Safe
#Uptime Kuma#Monitoring#Contabo VPS#Docker#DevOps
Marcus Sterling

Written by Marcus Sterling

DevOps & Cloud Engineer

Alex and the ServerCraft engineering lab run routine benchmarks on over 25 web hosting providers, maintaining strict objectivity and reproducibility.

Recommended Next Reads