How to Self-Host n8n (Full Setup + Real Workflow) @TonyTeachesTech
How to Self-Host n8n (Full Setup + Real Workflow)  @TonyTeachesTech
Uploaded September 2026 | Updated November 2026, 5 days ago
Get your own VPS and set up n8n: https://ttt.do/hostinger-n8n Use code TONY!

Learn how to self-host n8n on Ubuntu and run your own automation server 24/7. This step-by-step n8n tutorial works on a VPS or your own server and covers the full setup, HTTPS, and a real workflow from scratch.

In this tutorial, I’ll show you how to install n8n on Ubuntu, secure and prepare the server, connect n8n to your own domain with HTTPS, and build an automation that keeps running even when your computer is turned off.

For our n8n workflow, we’ll create a website contact form that automatically saves each new lead, emails you about the inquiry, and sends a confirmation email back to the visitor. Once n8n is running on your VPS, you can continue adding workflows for websites, APIs, email, notifications, scheduled automations, and more to the same server.

You can follow this n8n self-hosting tutorial using Hostinger, another Ubuntu VPS, or your own Ubuntu server. This video is sponsored by Hostinger. I may earn a commission if you purchase through my links.

πŸ”— Follow my complete n8n self-hosting guide: https://ttt.do/n8n-and-chill
πŸ”— Run n8n 24/7 with Hostinger: https://ttt.do/hostinger-n8n (use code TONY for an additional 10% off)
πŸ”— My VPS setup script: github.com/tonyflo/ttt-vps-scripts

WHAT YOU’LL LEARN
βœ… Self-hosting n8n on an Ubuntu VPS
βœ… Connecting n8n to your own domain + HTTPS
βœ… Installing n8n with the official installer
βœ… Building a real workflow from scratch
βœ… Saving leads with n8n Data Tables
βœ… Sending email notifications automatically

πŸ•’ CHAPTERS
00:00 Why Run n8n 24/7?
00:34 Set Up the Ubuntu VPS
02:17 Connect to the VPS with SSH
02:33 Secure and Prepare Ubuntu
03:43 Point a Domain to n8n
04:59 Enable HTTP + HTTPS Ports
05:23 Install n8n
06:06 Configure HTTPS with Caddy
07:14 Set Up n8n
08:05 Build Your First n8n Workflow
08:28 Create the Contact Form
09:46 Save the Lead to a Database
11:29 Send Yourself an Email
13:50 Reply to the Visitor
14:45 Test and Publish the Workflow
16:02 Next Steps
How to Self-Host n8n (Full Setup + Real Workflow)How to Login on Linode with an SSH Key (no password)The Untold Truth About SSL Certificates and SEOHow To Install rsync On Windows 10 (yes its possible)How to Make a Django Website on DreamHostHow to Make a Website with Python (Flask app tutorial)Havent Heard of the Hetzner Cloud Before? Start HereWhat is an SOA Record in DNS?How to SSH into DigitalOcean with a Key (no password)How to Use Custom Email Domain with iCloudBest Web Hosting of 2025 β€” Top 5 After Reviewing 100 Web HostsHow to Surf the Web in Terminal (with a text-based browser)
Tony Teaches Tech |

How to Self-Host n8n (Full Setup + Real Workflow)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER