Switching from N8N cloud to Hostinger

Hi, how do I switch from N8N cloud hosting to self hosted mode ? I have a VPS at hostinger, and I want use that as my server.

Any advice would be greatly appreciated!

Thanks in advance!

John

Hey @JohnV64 hope all is well, and welcome to the community.

Hostinger have a tutorial about that:

Hope this helps.

Hey John!

Nice move going self-hosted — you’ll get a lot more control and flexibility that way

Here’s a simple step-by-step to get you going on your Hostinger VPS:

1.Choose how you want to install n8n

The easiest and cleanest method is using Docker. It works great on VPS environments like Hostinger.

  1. Install Docker + Docker Compose

On Ubuntu/Debian VPS, just run:

sudo apt update
sudo apt install docker.io docker-compose -y
sudo systemctl enable docker

  1. Set up n8n using Docker Compose

Create a directory and a ‘docker-compose.yml’ file:

mkdir n8n && cd n8n

Paste this into a file called ‘docker-compose.yml’:

version: “3”
services:
n8n:
image: n8nio/n8n
restart: always
ports:
- “5678:5678”
environment:
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=yourusername
- N8N_BASIC_AUTH_PASSWORD=yourpassword
volumes:
- ./n8n_data:/home/node/.n8n

This will password-protect your n8n instance too.

  1. Start it up

docker-compose up -d

Now just go to http://your-vps-ip:5678 in your browser, and you should see n8n running!

Let me know if you want help setting up SSL (for HTTPS) or connecting your domain. I can walk you through that too.

If this helped, feel free to mark it as the solution so it helps others too

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.