How to Build a Self-Hosted Website Stack on One VPS @TonyTeachesTech
How to Build a Self-Hosted Website Stack on One VPS  @TonyTeachesTech
Uploaded July 2026 | Updated November 2026, 3 days ago
Turn one VPS into a complete self-hosted website stack with Docker Compose.

In this tutorial, I’ll show you how to run a website, analytics, uptime monitoring, and short links on a single VPS. We’ll use Ghost for the website, Matomo for analytics, Uptime Kuma for monitoring, Kutt for short links, and Caddy to route everything with HTTPS.

Instead of using your VPS for just one app, this setup shows how much more one server can do.

I earn commissions when you use the links below at no additional cost to you.
πŸ”— VPS used in this video: https://ttt.do/VerpexVPS
πŸ”— Full written guide (copy + paste all commands): https://ttt.do/web-stack
πŸ”— Try mirrord by MetalBear: https://ttt.do/MetalBear

WHAT YOU’LL LEARN
βœ… Get more value out of a single VPS instead of using it for just one app
βœ… Build a complete self-hosted website stack on your own server
βœ… Run your website, analytics, uptime monitoring, and short links together
βœ… Save money by avoiding separate subscriptions for every little website tool
βœ… Use Docker Compose to run multiple apps as one stack
βœ… Connect domains, subdomains, HTTPS, and reverse proxies in a real setup
βœ… Understand what the ready-to-go stack is doing behind the scenes
βœ… Take more control over the tools that power your website

APPS IN THIS STACK
πŸ‘» Ghost: website/blog
πŸ“Š Matomo: privacy-friendly analytics
🟒 Uptime Kuma: uptime monitoring
πŸ”— Kutt: short links
🌐 Caddy: reverse proxy and HTTPS

CHAPTERS
00:00 Turn one VPS into a website stack
00:50 Run the VPS setup script
01:57 Open ports 80 and 443
02:27 Download the Docker Compose stack
03:18 Configure the .env file
04:27 Create DNS records
05:54 Review compose.yml and Caddyfile
07:44 Sponsored segment: MetalBear mirrord
08:52 Start the Docker Compose stack
09:29 Set up Ghost
09:52 Set up Matomo analytics
11:41 Set up Kutt short links
12:37 Set up Uptime Kuma monitoring
13:26 Next video
How to Build a Self-Hosted Website Stack on One VPSHow to Scrape Images from a Website with Python (beautiful soup tutorial)How to Do Database Stuff with Django Models (without knowing SQL)Unlocking SSH: The Secret Story Behind Secure Shell3 Ways to Install Python 3 on MacHow to Install Hermes Agent (Full Setup + Demo)How to Install a GUI on Ubuntu ServerHow to Optimally Use AdSense with GeneratePressHow to Chat in a Linux Terminal (with the talk command)How to Move an Entire MySQL DatabaseHow to Start a Django Project and Run the Development ServerHow to Switch from Apache to Nginx (and vice versa)
Tony Teaches Tech |

How to Build a Self-Hosted Website Stack on One VPS

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER