{"id":419,"date":"2025-01-28T08:26:06","date_gmt":"2025-01-28T08:26:06","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/01\/28\/10473267-how-to-use-the-n8n-vps-template-at-hostinger\/"},"modified":"2026-11-30T09:05:48","modified_gmt":"2026-11-30T09:05:48","slug":"10473267-how-to-use-the-n8n-vps-template-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/10473267-how-to-use-the-n8n-vps-template-at-hostinger\/","title":{"rendered":"How to use the n8n VPS template at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">n8n is an open-source workflow automation tool that allows you to integrate and automate tasks across various services and applications. With <a data-click-id=\"hgr-post-content-link-hostingers-ubuntu-24-04-with-n8n-vps-template\" href=\"\/support\/1583571-what-are-the-available-operating-systems-for-vps-at-hostinger\/\">Hostinger\u2019s \u201cUbuntu 24.04 with n8n\u201d VPS template<\/a>, n8n comes preinstalled within a Docker environment, allowing for quick and easy deployment of your automation workflows.<\/p>\n<p class=\"no-margin\">This guide will walk you through accessing, configuring, and managing your n8n instance.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">If you don\u2019t have a VPS yet, you can check the available options here: <b><a data-click-id=\"hgr-post-content-link-n8n-hosting\" class=\"intercom-content-link\" href=\"\/self-hosted-n8n\" target=\"_blank\" rel=\"noopener\">n8n hosting<\/a>\u00a0<\/b><\/p>\n<\/div>\n<p>To deploy Nod, the open-source AI agent from n8n, see <a data-click-id=\"hgr-post-content-link-how-to-deploy-nod-from-n8n-on-a-hostinger-vps\" href=\"https:\/\/www.hostinger.com\/support\/how-to-deploy-nod-from-n8n-on-a-hostinger-vps\/\">How to deploy Nod from n8n on a Hostinger VPS<\/a>.<\/p>\n<p>See how to install n8n on a Hostinger VPS, set up the Hostinger API node, and build your first automation workflow.<\/p>\n<div class=\"intercom-h2b-video\">\n<p><iframe title=\"How To Make Your VPS Do All The Work For You! | n8n &amp; Hostinger API Automation Tutorial\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/q3vl1ip6f3s?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<\/div>\n<h2 id=\"h_b0784032f7\">Accessing the n8n Web Interface<\/h2>\n<p class=\"no-margin\">Open the web browser and Navigate to <code>https:\/\/n8n.[your-vps-hostname]<\/code> in your web browser.<\/p>\n<p class=\"no-margin\">The first time, you\u2019ll be prompted to create an admin account and set up your n8n instance.<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/01\/dbea50b6-69fc-4199-8a8a-c252216d13ff.jpg\/public\" alt=\"n8n owner account setup form with email, name, password fields and Next button\" data-media-id=\"2119\" \/><\/div>\n<div>\n<p><strong>NOTES<\/strong><\/p>\n<ul>\n<li>If you forget your admin password, see <a data-click-id=\"hgr-post-content-link-resetting-n8n-user-password-at-hostinger\" href=\"\/support\/11844184-resetting-n8n-user-password-at-hostinger\/\">resetting n8n user password at Hostinger.<\/a><\/li>\n<li>If you&#8217;d rather use your own custom domain instead of the default hostname, see <a data-click-id=\"hgr-post-content-link-changing-the-domain-for-n8n-on-vps-at-hostinger\" href=\"\/support\/11927159-changing-the-domain-for-n8n-on-vps-at-hostinger\/\">changing the domain for n8n on VPS at Hostinger.<\/a><\/li>\n<\/ul>\n<\/div>\n<h2 id=\"h_d94c9e24b6\"><b>Building<\/b> workflows<\/h2>\n<p class=\"no-margin\">Creating workflows in n8n is a visual and intuitive process. Start by clicking the \u201cNew Workflow\u201d button in the dashboard. This opens a blank canvas where you can begin building your automation. Nodes are the fundamental building blocks of workflows, representing tasks such as fetching data from an API, sending an email, or processing information. Drag and drop nodes from the node panel onto the canvas to get started.<\/p>\n<p class=\"no-margin\">Each node requires configuration to define its functionality. Click on a node to open its settings. For instance, if you use an HTTP Request node, you can specify details such as the request URL, method (GET, POST, etc.), and any necessary parameters or headers. Nodes can be connected by dragging lines from one node\u2019s output to another\u2019s input, establishing the sequence of tasks.<\/p>\n<p class=\"no-margin\">You can test the workflow once your nodes are connected by clicking the \u201cExecute Workflow\u201d button. This will run all connected nodes and display the results in real time, allowing you to troubleshoot and refine your automation.<\/p>\n<p class=\"no-margin\">Add a trigger node for workflows that need to run automatically. Examples of trigger nodes include the \u201cCron\u201d node for scheduled executions or the \u201cWebhook\u201d node to start workflows in response to external events. When you are satisfied with your workflow, save it to ensure it persists in your n8n instance.<\/p>\n<p class=\"no-margin\">For example, consider building a workflow that integrates Gmail and Slack. Use a Gmail node to fetch unread emails and a Slack node to send the email content to a Slack channel. This simple workflow automates the process of notifying your team about new emails.<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/01\/30a18379-9b75-4557-bc9f-7370300c0ac4.jpg\/public\" alt=\"n8n workflow showing Gmail triggers, loop over items, and Slack message step highlighted\" data-media-id=\"2122\" \/><\/div>\n<p><strong>NOTES<\/strong><\/p>\n<ul>\n<li>If you&#8217;re using web search or scraping nodes and want to power them with Oxylabs AI Studio credits, see <a data-click-id=\"hgr-post-content-link-how-to-use-oxylabs-ai-studio-credits-inside-n8n\" href=\"\/support\/how-to-use-oxylabs-ai-studio-credits-inside-n8n\/\">how to use Oxylabs AI Studio credits inside n8n<\/a>.<\/li>\n<li>If you&#8217;re using nexos.ai, see <a data-click-id=\"hgr-post-content-link-how-to-use-nexos-ai-with-n8n-on-hostinger-vps\" href=\"\/support\/how-to-use-nexos-ai-with-n8n-on-hostinger-vps\/\">How to use nexos.ai with n8n on Hostinger VPS<\/a>.<\/li>\n<li>If a community node shows &#8220;The specified package could not be loaded,&#8221; see <a data-click-id=\"hgr-post-content-link-that-errors-troubleshooting-guide\" href=\"\/support\/the-specified-package-could-not-be-loaded-when-using-n8n-community-nodes\/\">that error&#8217;s troubleshooting guide.<\/a><\/li>\n<\/ul>\n<h2 id=\"h_0407b06088\">Updating n8n<\/h2>\n<p class=\"no-margin\">It\u2019s important to keep your n8n version up to date. This ensures you get the latest features and fixes. Follow these steps in SSH to update n8n:<\/p>\n<pre><code># Pull latest version\r\ndocker compose pull\r\n\r\n# Stop and remove older version\r\ndocker compose down\r\n\r\n# Start the container\r\ndocker compose up -d<\/code><\/pre>\n<p>See <a data-click-id=\"hgr-post-content-link-how-to-update-n8n-at-hostinger\" href=\"\/support\/11767754-how-to-update-n8n-at-hostinger\/\">how to update n8n at Hostinger<\/a> for the full walkthrough.<\/p>\n<h2 id=\"h_04013f8bee\">Queue mode<\/h2>\n<p class=\"no-margin\">Queue mode in n8n enhances performance and scalability by processing workflows asynchronously using a message queue system (Redis). Instead of executing workflows immediately, they are queued and processed by separate worker nodes, allowing for better load balancing, fault tolerance, and distributed execution across multiple instances. This is especially useful for efficiently handling high volumes of workflow.<\/p>\n<p class=\"no-margin\">If you choose to use\u00a0\u201cUbuntu 24.04 with n8n (queue mode)<b>\u201c<\/b>, by default, it will be started with\u00a0<b>3<\/b>\u00a0workers. To scale this value, the following should be executed:<\/p>\n<pre><code>docker compose up -d --scale n8n-worker=&lt;number&gt;<\/code><\/pre>\n<h2 id=\"h_9e1553b0ff\">Environment variables<\/h2>\n<p class=\"no-margin\">When you deploy Hostinger\u2019s \u201cUbuntu 24.04 with n8n\u201d template, every n8n setting is handled exactly the same way Docker handles it \u2013 through environment variables declared in the Compose file that launches the container.<\/p>\n<p class=\"no-margin\"><a data-click-id=\"hgr-post-content-link-connect-to-ssh-of-your-vps\" class=\"intercom-content-link\" href=\"\/support\/5723772-how-to-connect-to-your-vps-via-ssh-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">Connect to SSH of your VPS<\/a> and navigate to <code>`\/docker\/n8n`<\/code>, then open <code>`docker-compose.yml`<\/code>. Under the <code>n8n<\/code> section you\u2019ll find an <code>environment<\/code> block. Each line there follows the pattern <code>VARIABLE_NAME=value<\/code>. That is the single place you declare things like public URLs, database credentials, time-zone, or queue-mode flags.<\/p>\n<p class=\"no-margin\">Add or change your variables in that <code>environment<\/code> list. Save the file, then run <code>`docker compose up -d`<\/code> from the `\/docker\/n8n` directory. Docker gracefully recreates the n8n service so the new variables take effect. No other steps are required.<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2025\/01\/92b54c3e-cc6f-4bd0-83c5-831e6c31ac47.jpg\/public\" alt=\"n8n VPS Docker compose config with Traefik labels and environment variables\" data-media-id=\"2124\" \/><\/div>\n<p class=\"no-margin\">For passwords or API keys, place the sensitive values in a <code>.env<\/code> file (same folder) and reference them in <code>docker-compose.yml<\/code> like <code>${SECRET_NAME}<\/code>. Docker Compose substitutes them automatically, so your secrets stay out of the file you might later share or commit.<\/p>\n<p class=\"no-margin\">You can check the list of n8n-supported environment variables in <a data-click-id=\"hgr-post-content-link-their-documentation\" class=\"intercom-content-link\" href=\"https:\/\/docs.n8n.io\/hosting\/configuration\/environment-variables\/\" target=\"_blank\" rel=\"noopener\">their documentation<\/a>.<\/p>\n<p class=\"no-margin\">Hostinger\u2019s \u201cUbuntu 24.04 with n8n\u201d and \u201cUbuntu 24.04 with n8n (queue mode)<b>\u201c<\/b> VPS templates let you quickly set up and manage workflow automation solutions. Whether you\u2019re integrating with APIs, automating business processes, or setting up scheduled jobs, n8n provides an intuitive and powerful platform.<\/p>\n<p class=\"no-margin\">If you would like more details and advanced usage, you can visit the official <a data-click-id=\"hgr-post-content-link-n8n-documentation\" class=\"intercom-content-link\" href=\"https:\/\/docs.n8n.io\/\" target=\"_blank\" rel=\"noopener\">n8n documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting started with the n8n VPS template<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[206],"tags":[],"class_list":["post-419","post","type-post","status-publish","format-standard","hentry","category-vps-os-and-templates"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/10473267-how-to-use-the-n8n-vps-template-at-hostinger","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=419"}],"version-history":[{"count":10,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/419\/revisions"}],"predecessor-version":[{"id":26373,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/419\/revisions\/26373"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}