Uploaded June 2026 | Updated September 2026, 2 weeks ago
Learn how to host multiple websites on a single server and build a profitable recurring revenue stream. Whether youβre a developer who wants to master the Linux command line or a digital agency looking to scale, this comprehensive, step-by-step guide covers both business models.
First, we build a secure, isolated LEMP stack from scratch on a raw $6/mo Ubuntu Linux VPS. Then we dive into the automated agency model and explain the strategy behind upselling clients into a Website Care Plan using a managed VPS platform.
I earn commissions when you use the links below at no additional cost to you.
π 30% off 3 Months with Cloudways: https://ttt.do/CloudwaysHostMultipleSites
π $200 Free DigitalOcean Credit: https://ttt.do/DigitalOceanHostMultipleSites
π Full Written Guide (Copy-and-Paste All Terminal Commands): https://tonyteaches.tech/how-to-host-multiple-websites-one-server/
What Youβll Learn
β Host Multiple Websites on One Server
β Optimize Cheap VPS Hardware
β Scale a $5K/Mo WordPress Agency
β Automate DevOps Workflows
β±οΈ CHAPTERS
00:00 Introduction
00:53 Digital Agency Business Strategy
01:29 Sponsor Disclosure
01:41 PART 1: Raw Linux VPS Setup
02:57 Generate SSH Keys Locally
03:58 Set up DNS Records
05:04 Connect via SSH
05:22 Create a Linux Swap File
06:34 Harden SSH Security
08:49 Configure UFW Firewall
10:01 Set up Unattended Upgrades
10:25 Update and Upgrade System
10:49 Install LEMP Stack Packages (Nginx, MariaDB, PHP)
11:43 Set Up Isolated System Users
12:59 Create Separate MariaDB Databases
13:59 Configure PHP-FPM Resource Pools
15:18 Write Nginx Server Blocks
17:48 Test websites via HTTP
18:20 Install Letβs Encrypt SSL Certificates via Certbot
19:59 Test websites via HTTPS
20:10 Download WordPress and PHP dependencies
21:43 Install WordPress
22:40 Set File Permissions
23:30 PART 2: Managed VPS Setup
23:53 One-Click WordPress Deployments
25:20 Map Client Domains
25:52 One-Click SSL Setup
26:11 Activate Site Manager Pro (AI Safe Updates)
26:58 Activate Cloudflare Enterprise for Security and Speed
27:40 Set Up Off-Site Backups
27:59 One-Click Private Staging Sandboxes
28:17 Which Web Stack is Right for Your Business?
Learn how to host multiple websites on a single server and build a profitable recurring revenue stream. Whether youβre a developer who wants to master the Linux command line or a digital agency looking to scale, this comprehensive, step-by-step guide covers both business models.
First, we build a secure, isolated LEMP stack from scratch on a raw $6/mo Ubuntu Linux VPS. Then we dive into the automated agency model and explain the strategy behind upselling clients into a Website Care Plan using a managed VPS platform.
I earn commissions when you use the links below at no additional cost to you.
π 30% off 3 Months with Cloudways: https://ttt.do/CloudwaysHostMultipleSites
π $200 Free DigitalOcean Credit: https://ttt.do/DigitalOceanHostMultipleSites
π Full Written Guide (Copy-and-Paste All Terminal Commands): https://tonyteaches.tech/how-to-host-multiple-websites-one-server/
What Youβll Learn
β Host Multiple Websites on One Server
β Optimize Cheap VPS Hardware
β Scale a $5K/Mo WordPress Agency
β Automate DevOps Workflows
β±οΈ CHAPTERS
00:00 Introduction
00:53 Digital Agency Business Strategy
01:29 Sponsor Disclosure
01:41 PART 1: Raw Linux VPS Setup
02:57 Generate SSH Keys Locally
03:58 Set up DNS Records
05:04 Connect via SSH
05:22 Create a Linux Swap File
06:34 Harden SSH Security
08:49 Configure UFW Firewall
10:01 Set up Unattended Upgrades
10:25 Update and Upgrade System
10:49 Install LEMP Stack Packages (Nginx, MariaDB, PHP)
11:43 Set Up Isolated System Users
12:59 Create Separate MariaDB Databases
13:59 Configure PHP-FPM Resource Pools
15:18 Write Nginx Server Blocks
17:48 Test websites via HTTP
18:20 Install Letβs Encrypt SSL Certificates via Certbot
19:59 Test websites via HTTPS
20:10 Download WordPress and PHP dependencies
21:43 Install WordPress
22:40 Set File Permissions
23:30 PART 2: Managed VPS Setup
23:53 One-Click WordPress Deployments
25:20 Map Client Domains
25:52 One-Click SSL Setup
26:11 Activate Site Manager Pro (AI Safe Updates)
26:58 Activate Cloudflare Enterprise for Security and Speed
27:40 Set Up Off-Site Backups
27:59 One-Click Private Staging Sandboxes
28:17 Which Web Stack is Right for Your Business?







