Pricing
VPS Jun 7, 2026 · 6 min read

Self-Hosting n8n on a ₹499 VPS: Complete Setup Guide

Replace your ₹16,000/mo Zapier bill with a self-hosted n8n instance you own and control.

DM
Dev M. · 6 min read
Back to Blog Server infrastructure with blue lights

n8n is an open-source workflow automation tool — think Zapier, but you own the server, the data, and the workflows. On VoloWeb's ₹499/mo VPS plan (2 vCPU, 4GB RAM, 80GB NVMe), you can run 50+ active workflows comfortably. The cost comparison is dramatic: Zapier Pro costs $49/mo (~₹4,100) for just 750 tasks. n8n on your VPS? Unlimited tasks for ₹499/mo.

What You'll Need

Step 1: SSH Into Your VPS

ssh root@your-vps-ip

VoloWeb sends root credentials via email after purchase. First thing: change the password with passwd and create a non-root user for daily work.

Step 2: Install Docker

Docker lets you run n8n in an isolated container — easy to update, easy to back up, no dependency conflicts.

curl -fsSL https://get.docker.com | sh
systemctl enable docker && systemctl start docker
docker --version  # Should show 24.x or higher

Step 3: Deploy n8n with Docker

docker run -d --restart unless-stopped \
  --name n8n \
  -p 5678:5678 \
  -e N8N_BASIC_AUTH_ACTIVE=true \
  -e N8N_BASIC_AUTH_USER=admin \
  -e N8N_BASIC_AUTH_PASSWORD=YourStrongPassword123 \
  -e WEBHOOK_URL=https://auto.yourdomain.com/ \
  -e GENERIC_TIMEZONE=Asia/Kolkata \
  -v n8n_data:/home/node/.n8n \
  n8nio/n8n
💡 Important: Replace YourStrongPassword123 with an actual strong password, and auto.yourdomain.com with your real subdomain. The -v n8n_data flag ensures your workflows survive container restarts.

Step 4: Set Up Nginx Reverse Proxy

n8n runs on port 5678, but we want it accessible on standard HTTPS (port 443) with a proper SSL certificate.

apt update && apt install nginx certbot python3-certbot-nginx -y

Create the Nginx configuration:

cat > /etc/nginx/sites-available/n8n << 'NGINX'
server {
    server_name auto.yourdomain.com;
    
    location / {
        proxy_pass http://localhost:5678;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header X-Real-IP $remote_addr;
        chunked_transfer_encoding off;
        proxy_buffering off;
        proxy_cache off;
    }
}
NGINX

ln -s /etc/nginx/sites-available/n8n /etc/nginx/sites-enabled/
nginx -t && systemctl restart nginx

Step 5: Enable SSL with Let's Encrypt

certbot --nginx -d auto.yourdomain.com
# Follow the prompts, choose redirect HTTP to HTTPS

Certbot automatically renews certificates every 60 days. Your n8n instance is now accessible at https://auto.yourdomain.com with valid HTTPS.

Step 6: Log In and Build Your First Workflow

Open your browser, navigate to https://auto.yourdomain.com, and log in with the credentials from Step 3. You'll see n8n's visual workflow editor — drag nodes, connect them, and automate anything.

Popular Workflows for Indian Businesses

Maintaining Your n8n Instance

Update to the latest version with two commands:

docker stop n8n && docker rm n8n
docker pull n8nio/n8n
# Then re-run the docker run command from Step 3

Your workflows and credentials are safe in the n8n_data volume — they persist across container updates.

💡 Backup tip: Add a cron job to backup the n8n data volume daily: docker run --rm -v n8n_data:/data -v /backups:/backup alpine tar czf /backup/n8n-$(date +%Y%m%d).tar.gz /data
n8nVPSAutomationDockerSelf-Hosting

Ready to put this into practice?

VoloWeb hosting starts at ₹69/mo — NVMe SSD, LiteSpeed, free SSL, 24/7 Indian support.

Get Started — ₹69/mo