hallo@maenda.mediaContactKnowledge Base
Maenda Media
Network
HostingDomainsRadioVPS
DirectAdmin
Proxmox
Cloudflare
LiteSpeed
Imunify360
Let's Encrypt
Softaculous
JetBackup
Shoutcast
Icecast
RIPE NCC Member
Ubiquiti
Appwrite
DirectAdmin
Proxmox
Cloudflare
LiteSpeed
Imunify360
Let's Encrypt
Softaculous
JetBackup
Shoutcast
Icecast
RIPE NCC Member
Ubiquiti
Appwrite
Maenda MediaHosting since 2003

Web hosting, VPS servers and streaming from our own datacenter in Meppel. Dutch support on weekdays.

  • hallo@maenda.media
  • Nederland

Products

  • Web Hosting
  • VPS Servers
  • Managed VPS
  • Radio Streaming
  • Video Streaming
  • Stream monitoring
  • Domains
  • Spam Filtering

Support

  • Contact
  • Knowledge Base
  • Server Status

Company

  • About Us
  • Network Info

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • GDPR
SSL Secure
99.9% uptime target
Dutch company
Payment methods:
iDEAL
Visa
Mastercard
Bancontact
SEPA
© 2026 Maenda Media. All rights reserved.
Made with❤in the Netherlands
Knowledge BaseVPS ApplicationsInstalling n8n on your VPS — Complete Guide
Back to Knowledge Base
VPS Applications

Installing n8n on your VPS — Complete Guide

Published on February 15, 20264 min read

Table of Contents

  • What is n8n?
  • System Requirements
  • Step 1: Order VPS with n8n Template
  • Step 2: What Gets Installed Automatically?
  • Step 3: First Access to n8n
  • Step 4: Connect Your Own Domain (Recommended)
  • Set Up DNS
  • Configure Caddy
  • Step 5: Updating n8n
  • Step 6: Managing Backups
  • Automatic Backups
  • Manual Backup
  • Restoring a Backup
  • Directory Structure
  • FAQ

What is n8n?

n8n is a powerful open-source workflow automation platform — similar to Zapier or Make, but self-hosted on your own VPS. With 400+ native integrations, built-in AI capabilities, and a visual drag-and-drop editor, you have full control over your automations and your data.

n8n Workflow Editorn8n Workflow Editor


System Requirements

ComponentMinimumRecommendedEnterprise
RAM2 GB4 GB8 GB
CPU1 vCPU2 vCPU4 vCPU
Storage25 GB NVMe50 GB NVMe100 GB NVMe
OSUbuntu 24.04Ubuntu 24.04Ubuntu 24.04

Step 1: Order VPS with n8n Template

The easiest way to install n8n is via our 1-click installation:

  1. Go to the VPS Configurator
  2. Choose your desired package (minimum 2 GB RAM)
  3. Select n8n as the application template
  4. Complete your order

After payment, your VPS is automatically provisioned with the complete n8n stack.


Step 2: What Gets Installed Automatically?

Our 1-click installation configures the following components:

  • Docker Engine — Containerized deployment for reliability
  • PostgreSQL 16 — Professional database backend (more reliable than SQLite)
  • Caddy 2 Web Server — Reverse proxy with automatic HTTPS via Let's Encrypt
  • n8n (latest) — The latest version of n8n in a Docker container
  • Daily Backups — Automatic backup every night at 03:00 (7 days retained)
  • Update Script — Easy updates with a single command

All components are installed in /opt/n8n/.


Step 3: First Access to n8n

Once the installation is complete:

  1. Open your browser and go to http://YOUR-VPS-IP
  2. n8n displays the registration screen
  3. The first user to register automatically becomes the owner/admin
  4. Fill in your name, email address, and password
  5. You're now ready to build workflows!

Important: Create your admin account as soon as possible after installation. Anyone with access to the IP address can otherwise claim the first account.


Step 4: Connect Your Own Domain (Recommended)

For a professional setup with HTTPS:

Set Up DNS

Create an A record at your domain provider:

n8n.yourdomain.com  →  A  →  YOUR-VPS-IP

Configure Caddy

Connect via SSH to your VPS and edit the Caddyfile:

sudo nano /opt/n8n/Caddyfile

Replace the existing content with:

n8n.yourdomain.com {
    reverse_proxy n8n:5678
}

Restart Caddy:

cd /opt/n8n && docker compose restart caddy

Caddy automatically obtains a free SSL certificate via Let's Encrypt. After a few seconds, your n8n is accessible at https://n8n.yourdomain.com.


Step 5: Updating n8n

To update n8n to the latest version:

sudo /opt/n8n/update.sh

This script:

  • Downloads the latest n8n Docker image
  • Restarts the containers automatically
  • Cleans up old Docker images
  • Your workflows and data remain fully preserved

Step 6: Managing Backups

Automatic Backups

Every night at 03:00, an automatic backup is made of:

  • The PostgreSQL database
  • The n8n configuration and data

Backups are stored in /opt/n8n/backups/ (last 7 days).

Manual Backup

You can also make a manual backup:

sudo /opt/n8n/backup.sh

Restoring a Backup

To restore a backup:

# Stop n8n
cd /opt/n8n && docker compose down

# Restore the database
gunzip < /opt/n8n/backups/BACKUP-FILE.sql.gz | docker exec -i n8n-postgres psql -U n8n

# Start n8n again
docker compose up -d

Directory Structure

The complete n8n installation is located in /opt/n8n/:

/opt/n8n/
├── docker-compose.yml    # Docker configuration
├── Caddyfile             # Web server configuration
├── .env                  # Environment variables
├── update.sh             # Update script
├── backup.sh             # Backup script
├── backups/              # Backup files
└── data/                 # n8n workflow data

FAQ

How many workflows can I run? Unlimited! There are no limits on the number of workflows or executions. The only limitation is your VPS capacity.

Can I install n8n manually? Yes, but we recommend the 1-click installation. Manual installation requires Docker, PostgreSQL, and a reverse proxy — our template configures all of this automatically.

What if I need more resources? You can upgrade your VPS at any time via your dashboard. RAM and CPU upgrades require a short reboot, storage can be expanded online.

Does n8n run on Windows? Our VPS templates run on Ubuntu 24.04 (Linux). n8n itself runs in a Docker container, so the OS doesn't matter for n8n.

VPS is temporarily sold out

Our cluster is full, so no new servers can be added for now. Leave your details and you will be the first to hear when capacity is available.

VPS Applications

Related Articles

More articles from this category

Still have questions?

Our support team is happy to help you

Building n8n Workflows — User Guide

Building n8n Workflows — User Guide This guide walks you through using n8n to build powerful automation workflows step b...

7 min readRead article

Installing OpenClaw on Your VPS — Complete Guide

Installing OpenClaw on Your VPS — Complete Guide OpenClaw is an open-source AI assistant that runs on your own server. Y...

6 min readRead article

Using OpenClaw — User Guide

Using OpenClaw — User Guide This guide shows you how to get the most out of OpenClaw. From daily use to advanced configu...

6 min readRead article