N8N_HOST=n8n.example.com n8n start

Category: n8n & Workflow Automation

N8N_HOST=n8n.example.com n8n start

Set the hostname n8n binds to

Tells n8n which hostname it is reachable at, which feeds into generated URLs and links. The default is localhost. Behind a reverse proxy, pair it with N8N_PROTOCOL and N8N_PROXY_HOPS so callback and webhook URLs come out right.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.