06Templates (apps on your server)
n8n – automations on your server (template)
Set up n8n with your own domain and SSL on your VPS using a template: create the owner account, use webhooks, send emails and back up the server.
In short
The template installs n8n in Docker behind an HTTPS proxy with a Let’s Encrypt certificate and creates your owner account before the page is reachable from outside. Afterwards, you log in with your email address.
Requirements
Section titled “Requirements”- at least 2 GB RAM, 5 GB free storage
- a domain that points to your server’s IP (A record)
- ports 80 and 443 free
Installation
Section titled “Installation”- Server Hub → your server → Templates → n8n → Install.
- Enter a domain (e.g.
n8n.your-domain.com) and your email address, and check the Let’s Encrypt terms. - Start installation. After about 6 minutes, you get the address and a password.
Afterwards
Section titled “Afterwards”- Log in at your address with your email address and change the password under Settings → Personal.
- Ideally, also enable two-factor authentication – n8n stores credentials for your other services.
- You reach webhooks at
https://your-domain/webhook/….
Emails from workflows need an external SMTP service. On VPS, mail ports 25, 465 and 587 are blocked at first – use a service with port 2525 or ask our support.
Files and commands
Section titled “Files and commands”| What | Where |
|---|---|
| Data | /opt/nh-apps/n8n/data |
| Settings | /opt/nh-apps/n8n/n8n.env |
| Restart | docker restart nh-n8n |