• Latest
  • Trending
  • All
🚀 How to Install n8n on aaPanel (Hostinger VPS) — With Ready-to-Import Script

🚀 How to Install n8n on aaPanel (Hostinger VPS) — With Ready-to-Import Script

October 20, 2025
Automate Doctor Appointments with WhatsApp: Complete n8n Workflow Guide

Automate Doctor Appointments with WhatsApp: Complete n8n Workflow Guide

October 17, 2025
Build a Complete WhatsApp Commerce Bot for WooCommerce with Automated Order Management, Razorpay Payment Integration, and AI-Powered Customer Support Using n8n — No Coding Required

Build a Complete WhatsApp Commerce Bot for WooCommerce with Automated Order Management, Razorpay Payment Integration, and AI-Powered Customer Support Using n8n — No Coding Required

October 9, 2025
How to Build an AI WhatsApp Chatbot with n8n and OpenAI (Step-by-Step Guide)

How to Build an AI WhatsApp Chatbot with n8n and OpenAI (Step-by-Step Guide)

October 2, 2025
Installing & Configuring n8n on VPS (pm2 + LiteSpeed)

Installing & Configuring n8n on VPS (pm2 + LiteSpeed)

September 27, 2025
🚀 How to Send WooCommerce Order Notifications on WhatsApp Without Using Cloud API

🚀 How to Send WooCommerce Order Notifications on WhatsApp Without Using Cloud API

May 8, 2025
How to Create a Flight and Tour Booking Website & App Using WordPress (With Skyscanner Integration)

How to Create a Flight and Tour Booking Website & App Using WordPress (With Skyscanner Integration)

April 6, 2025
Introducing CargoHub: The Ultimate WooCommerce Courier and Logistics Plugin

Introducing CargoHub: The Ultimate WooCommerce Courier and Logistics Plugin

February 28, 2025
How to Connect WooSMS API with OTP Login Woocommerce Plugin

How to Connect WooSMS API with OTP Login Woocommerce Plugin

February 1, 2025
How to Launch Your Own Flight and Hotel Booking Website with a Ready-Made Script

How to Launch Your Own Flight and Hotel Booking Website with a Ready-Made Script

January 27, 2025
How to Add WhatsApp as a Payment Gateway in WooCommerce | Order on WhatsApp for WooCommerce

How to Add WhatsApp as a Payment Gateway in WooCommerce | Order on WhatsApp for WooCommerce

December 21, 2024
Shipment Tracker for WooCommerce: Simplify Your Shipping Process

Shipment Tracker for WooCommerce: Simplify Your Shipping Process

December 16, 2024
How to Get Your WhatsApp Business Display Name Approved: WhatsApp branding guidelines

How to Get Your WhatsApp Business Display Name Approved: WhatsApp branding guidelines

November 14, 2024
  • Home
  • Contact us
  • Domain Checker
  • Portfolio
  • Privacy Policy
Monday, October 20, 2025
  • Login
Wp Hacks4u
  • Home
  • Domain Checker
  • wordpress
    • woocommerce
    • SSL
    • Google Map
  • Tech
  • Portfolio
  • CargoHub
No Result
View All Result
Wp Hacks4u
No Result
View All Result
Home AI

🚀 How to Install n8n on aaPanel (Hostinger VPS) — With Ready-to-Import Script

n8n is a powerful open-source workflow automation tool — an alternative to Zapier or Make — that lets you build integrations visually.

by RAHUL
October 20, 2025
in AI
0
🚀 How to Install n8n on aaPanel (Hostinger VPS) — With Ready-to-Import Script
491
SHARES
1.4k
VIEWS
Share on FacebookShare on Twitter

In this guide, you’ll learn how to install n8n on a Hostinger VPS using aaPanel, configure a reverse proxy with SSL, and make it production-ready with PM2 so it auto-starts on reboot.

👉 Perfect for developers and businesses who want to run n8n with a custom domain like
https://n8n.yourdomain.com


🖥️ Step 1: Get a Hostinger VPS

If you don’t already have one, get a Hostinger VPS plan here:

👉 Buy VPS Hosting from Hostinger

We recommend:

  • Ubuntu 22.04 (64-bit)

  • Minimum 2 GB RAM / 1 vCPU

Once the VPS is ready, connect via SSH (you’ll get credentials from Hostinger).

ssh root@your_server_ip

🧰 Step 2: Install aaPanel

aaPanel is a clean, powerful Linux hosting control panel that simplifies server management.

Run this command to install aaPanel:

curl -sSO http://www.aapanel.com/script/install_6.0_en.sh && bash install_6.0_en.sh

After installation, aaPanel will show you a login link and credentials.

Example:

aaPanel Installed
URL: http://your_server_ip:8888/xxxxxx
Username: admin
Password: ********

⚙️ Step 3: Log in to aaPanel

Open the link in your browser, e.g.:

http://your_server_ip:8888/xxxxxx

You’ll see the aaPanel dashboard.
👉 Choose LNMP (Nginx) stack during the first setup.


🌐 Step 4: Add Your Domain

  1. Go to Website > Add Site

  2. Domain: n8n.yourdomain.com

  3. Root Directory: auto-filled (keep default)

  4. PHP: Pure static

  5. Click Submit

Then, point your DNS (from your registrar) to your VPS IP.


🔄 Step 5: Install Node.js and PM2

Install Node.js v22 (required by n8n ≥ v1.73) and PM2:

curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt install -y nodejs
npm install -g pm2

Verify:

node -v
# v22.x.x

🤖 Step 6: Install n8n Globally

npm install -g n8n

Check version:

n8n --version

🧱 Step 7: Set Up Reverse Proxy in aaPanel

Go to:

  • Website → n8n.yourdomain.com → Reverse Proxy → Add reverse proxy

Set:

  • Proxy Name: n8n

  • Proxy Directory: /

  • Target URL: http://127.0.0.1:5678

✅ Keep “Cache” disabled
✅ Click Save


🔐 Step 8: Enable Free SSL (Let’s Encrypt)

Go to:

  • Website → SSL → Let’s Encrypt

  • Add your domain: n8n.yourdomain.com

  • Click Apply


⚡ Step 9: Start n8n with PM2 (Recommended Method)

Now we’ll make n8n run permanently in the background with proper environment variables.

pm2 start bash --name n8n -- -c '
export N8N_PORT=5678;
export N8N_HOST=0.0.0.0;
export N8N_PROTOCOL=http;
export N8N_EDITOR_BASE_URL=https://n8n.yourdomain.com/;
export WEBHOOK_TUNNEL_URL=https://n8n.yourdomain.com/;
export N8N_WEBHOOK_URL=https://n8n.yourdomain.com/;
export N8N_BASIC_AUTH_ACTIVE=false;
export N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true;
n8n start
'

Then save and enable auto-start:

pm2 save
pm2 startup

Check:

pm2 list

You should see:

│ id │ name │ status │ cpu │ mem │
│ 0 │ n8n │ online │ ... │ ... │

🧩 Step 10: Verify n8n Is Running

Visit:

https://n8n.yourdomain.com

If all went well, you’ll see the n8n setup page 🎉
Create your owner account.


🧠 Step 11: Check Webhook URLs

Inside n8n, when you create a Webhook node, you’ll now see:

✅ Clean URL (no port number):

https://n8n.yourdomain.com/webhook/search-flights

If you see :5678, it means environment variables weren’t applied — restart PM2 using:

pm2 restart n8n

🔧 Step 12: Auto Restart & Logs

To restart or debug:

pm2 restart n8n
pm2 logs n8n
pm2 delete n8n

🧾 Optional: Firewall Settings

Allow n8n’s internal port (just for internal proxy use):

ufw allow 5678/tcp

🧱 Ready-to-Import Script

Here’s the ready script you can copy-paste into your VPS:

N8N Ready-to-Import Script

FREE DOWNLOAD

Send download link to:

✅ Replace n8n.yourdomain.com with your actual domain before running.


🌟 Done! You Now Have a Full n8n Server

You now have:

  • ✅ n8n installed and secured with SSL

  • ✅ aaPanel managing your server

  • ✅ Nginx reverse proxy handling HTTPS

  • ✅ PM2 keeping n8n always online

  • ✅ Auto-start on reboot

You can now connect n8n to your apps, build workflows, and automate your business 🚀

Tags: hostingN8NVPS
Share196Tweet123
RAHUL

RAHUL

  • Trending
  • Comments
  • Latest
How to make fake WooCommerce reviews? | Automatically generate reviews for your WooCommerce product

How to make fake WooCommerce reviews? | Automatically generate reviews for your WooCommerce product

June 18, 2022
How to Create a Hotel or Tour Booking Website with HotelEase – Ultimate Hotel Booking Website Software for WordPress

How to Create a Hotel or Tour Booking Website with HotelEase – Ultimate Hotel Booking Website Software for WordPress

November 14, 2024
How to convert a WordPress or Woocommerce website into an App for Free

How to convert a WordPress or Woocommerce website into an App for Free

June 30, 2023
How to Buy a Domain & Hosting in Hostinger And install WordPress in 5 Minute

How to Buy a Domain & Hosting in Hostinger And install WordPress in 5 Minute

4
HOW TO CREATE A CAKE ORDERING WEBSITE | ONLINE CAKE SHOP | TUTORIAL

HOW TO CREATE A CAKE ORDERING WEBSITE | ONLINE CAKE SHOP | TUTORIAL

1
HOW TO MAKE WOOCOMMERCE FOOD ORDERING WEBSITE LIKE ZOMATO&SWIGGY

HOW TO MAKE WOOCOMMERCE FOOD ORDERING WEBSITE LIKE ZOMATO&SWIGGY

1
🚀 How to Install n8n on aaPanel (Hostinger VPS) — With Ready-to-Import Script

🚀 How to Install n8n on aaPanel (Hostinger VPS) — With Ready-to-Import Script

October 20, 2025
Automate Doctor Appointments with WhatsApp: Complete n8n Workflow Guide

Automate Doctor Appointments with WhatsApp: Complete n8n Workflow Guide

October 17, 2025
Build a Complete WhatsApp Commerce Bot for WooCommerce with Automated Order Management, Razorpay Payment Integration, and AI-Powered Customer Support Using n8n — No Coding Required

Build a Complete WhatsApp Commerce Bot for WooCommerce with Automated Order Management, Razorpay Payment Integration, and AI-Powered Customer Support Using n8n — No Coding Required

October 9, 2025
Wp Hacks4u

Copyright © 2025 Wphacks4u.com

Navigate Site

  • Home
  • Contact us
  • Domain Checker
  • Portfolio
  • Privacy Policy

Follow Us

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now
This is a test site
Build with Digits
Protected by   
No Result
View All Result
  • Home
  • Domain Checker
  • wordpress
    • woocommerce
    • SSL
    • Google Map
  • Tech
  • Portfolio
  • CargoHub

Copyright © 2025 Wphacks4u.com

Enable Notifications OK No thanks