{"id":6553,"date":"2025-11-07T08:46:19","date_gmt":"2025-11-07T08:46:19","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=6553"},"modified":"2026-12-02T04:40:35","modified_gmt":"2026-12-02T04:40:35","slug":"how-to-deploy-a-nodejs-website-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-deploy-a-nodejs-website-in-hostinger\/","title":{"rendered":"How to add a Node.js web app in Hostinger"},"content":{"rendered":"<p>Hostinger supports Node.js web applications on all web and cloud hosting plans, with automatic builds and deployments for frameworks such as React, Vue.js, Angular, Next.js, and Express.js. To add a Node.js web app, click <strong>Create site<\/strong> \u2192 <strong>Web App<\/strong> in the Websites section, choose a domain, and provide your code in one of four ways: import a GitHub or GitLab repository, enter a public repository URL, upload your project files, or start from a pre-built template. Hostinger then detects your build settings, deploys the app, and lets you connect your IDE with Hostinger Connector.<\/p>\n<p>There are four ways to provide your Node.js web app code in Hostinger:<\/p>\n<ul>\n<li><strong>Import your Git repository<\/strong> \u2013 deploy from a GitHub or GitLab repository, with automatic deployments on every push.<\/li>\n<li><strong>Public repository URL<\/strong> \u2013 copy a public repository into a new repository in your Git account and deploy it.<\/li>\n<li><strong>Upload your files<\/strong> \u2013 deploy by uploading a compressed project archive.<\/li>\n<li><strong>Start from a template<\/strong> \u2013 copy a pre-built template into a new repository in your Git account and deploy it.<\/li>\n<\/ul>\n<p>After deployment, connect Cursor, VS Code, Windsurf, or another supported IDE with Hostinger Connector to manage your deployment without leaving your editor.<\/p>\n<p>You can also deploy a Node.js web app while setting up a new hosting plan. In the setup chat, select <strong>No<\/strong> \u2192 <strong>I\u2019m a developer or I use a coding agent<\/strong> \u2192 <strong>Push your code, we host it<\/strong>, then choose a domain and a data centre. The chat then offers the same four ways to provide your code. For details, see <a data-click-id=\"hgr-post-content-link-set-up-a-node-js-wordpress-or-php-html-website-as-a-develope\" href=\"https:\/\/www.hostinger.com\/support\/6926920-how-to-set-up-a-hosting-plan-in-hostinger\/#h-set-up-a-node-js-wordpress-or-php-html-website-as-a-developer\">Set up a Node.js, WordPress, or PHP\/HTML website as a developer<\/a>.<\/p>\n<h2 id=\"What-You-Will-Need\">Which hosting plans support Node.js web applications?<\/h2>\n<p><a data-click-id=\"hgr-post-content-link-node-js\" href=\"https:\/\/www.hostinger.com\/tutorials\/what-is-node-js\/\">Node.js<\/a> web applications are available on all Hostinger <a data-click-id=\"hgr-post-content-link-web-hosting\" href=\"https:\/\/www.hostinger.com\/web-hosting\">web hosting<\/a> and <a data-click-id=\"hgr-post-content-link-cloud-hosting\" href=\"https:\/\/www.hostinger.com\/cloud-hosting\">Cloud hosting<\/a> plans:<\/p>\n<ul>\n<li>Web Single<\/li>\n<li>Web Premium<\/li>\n<li>Business\/Unlimited<\/li>\n<li>Cloud Startup<\/li>\n<li>Cloud Professional<\/li>\n<li>Cloud Enterprise<\/li>\n<li>Cloud Enterprise Plus<\/li>\n<\/ul>\n<p>The number of Node.js websites you can create is limited only by the website limit of your hosting plan. To host more websites, <a data-click-id=\"hgr-post-content-link-upgrade\" href=\"https:\/\/www.hostinger.com\/support\/1583459-how-to-upgrade-a-hosting-plan-at-hostinger\/\">upgrade<\/a> your hosting plan through Hostinger dashboard. For the number of Node.js websites, process limits, and other limits on each plan, see <a data-click-id=\"hgr-post-content-link-hostinger-node-js-limits-for-web-and-cloud-plans\" href=\"https:\/\/www.hostinger.com\/support\/hostinger-node-js-limits-for-web-and-cloud-plans\/\">Hostinger Node.js limits for web and cloud plans<\/a>.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">VPS and dedicated server plans also support Node.js applications but require manual configuration through the command line interface.<\/div>\n<h2 id=\"h-what-youll-need\">What you\u2019ll need<\/h2>\n<ul>\n<li>A Hostinger web or cloud hosting plan.<\/li>\n<li>A Node.js app built with a supported framework.<\/li>\n<li>Your code in a GitHub or GitLab repository, a public repository URL, or a compressed project archive. To deploy from a public repository URL or a template, you also need a GitHub or GitLab account to hold the new repository.<\/li>\n<\/ul>\n<h2 id=\"Supported-Frameworks-and-Technologies\">Supported frameworks and technologies<\/h2>\n<p>Your Node.js app must be built with one of the frameworks available in the <strong>Framework preset<\/strong> dropdown during setup:<\/p>\n<ul>\n<li>Frontend-supported applications\n<ul>\n<li>Angular<\/li>\n<li>Astro<\/li>\n<li>Create React App<\/li>\n<li>Gatsby<\/li>\n<li>Next.js<\/li>\n<li>Nuxt<\/li>\n<li>Parcel<\/li>\n<li>React<\/li>\n<li>React Router<\/li>\n<li>Svelte<\/li>\n<li>SvelteKit<\/li>\n<li>Vite<\/li>\n<li>Vue.js<\/li>\n<\/ul>\n<\/li>\n<li>Backend-supported applications\n<ul>\n<li>Astro<\/li>\n<li>Express<\/li>\n<li>Fastify<\/li>\n<li>Hono<\/li>\n<li>NestJS<\/li>\n<li>Next.js<\/li>\n<li>Nitro<\/li>\n<li>Nuxt<\/li>\n<li>React Router<\/li>\n<li>SvelteKit<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>Supported <a data-click-id=\"hgr-post-content-link-node-js-versions\" href=\"https:\/\/www.hostinger.com\/support\/how-to-select-the-node-js-version-for-your-application\/\">Node.js versions<\/a>:<\/strong> 18.x, 20.x, 22.x, 24.x.<\/p>\n<p>In addition to the listed frameworks, Hostinger supports an <strong>Other<\/strong> type for Node.js applications that don\u2019t use a specific detectable framework:<\/p>\n<ul>\n<li><strong>Auto-assigned<\/strong> \u2013 if Hostinger can\u2019t detect your framework automatically, your app is assigned the <strong>Other<\/strong> type.<\/li>\n<li><strong>Manual selection<\/strong> \u2013 you can also select <strong>Other<\/strong> manually from the <strong>Framework preset<\/strong> dropdown during setup.<\/li>\n<\/ul>\n<p>Watch how to deploy a Node.js web app to Hostinger.<\/p>\n<div class=\"intercom-h2b-video\">\n<p><iframe title=\"How to Deploy a Node.js Web App to Hostinger\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/HpPji6SUVco?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-step-1-create-a-node-js-web-app-and-choose-a-domain\">Step 1 \u2013 Create a Node.js web app and choose a domain<\/h2>\n<p>Log in to Hostinger dashboard, go to <strong>Websites<\/strong>, click <a data-click-id=\"hgr-post-content-link-create-site\" href=\"https:\/\/www.hostinger.com\/support\/1583214-how-to-add-a-website-in-hostinger\/\"><strong>Create site<\/strong><\/a> on the hosting plan you want to use, and select <strong>Web App<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-21947\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_14-27.png\/public\" alt=\"Create site menu in the Hostinger dashboard Websites section with the Web App option\" width=\"1143\" height=\"621\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_14-27.png\/w=1143,fit=scale-down 1143w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_14-27.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_14-27.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_14-27.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/p>\n<p>In the <strong>Connect a domain<\/strong> card, search for a domain or type one you own in the search field, or select one of your domains from the list, marked <strong>Owned<\/strong>. Then click <strong>Next<\/strong>. To set up a domain later, click <strong>Continue with temporary domain<\/strong>, and your app gets a random address on <code>hostingersite.com<\/code>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26245\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-15.png\" alt=\"Connect a domain card with a domain search field, an owned domain, and Continue with temporary domain\" width=\"870\" height=\"486\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-15.png 870w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-15-300x168.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-15-768x429.png 768w\" sizes=\"(max-width: 870px) 100vw, 870px\" \/><\/p>\n<h2 id=\"h-step-2-choose-how-to-provide-your-node-js-web-app-code\">Step 2 \u2013 Choose how to provide your Node.js web app code<\/h2>\n<p>The <strong>Deploy your web app<\/strong> card offers four options: <strong>Import your Git repository<\/strong>, <strong>Public repository URL<\/strong>, <strong>Upload your files<\/strong>, and <strong>Start from a template<\/strong>. Select one and follow the matching steps.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26246\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17.png\" alt=\"Deploy your web app card with four options to provide Node.js app code\" width=\"529\" height=\"546\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17.png 529w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17-291x300.png 291w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/p>\n<h3 id=\"Deploying-from-Github-Repository\">Deploying from a GitHub or GitLab repository<\/h3>\n<p>Importing a Git repository deploys your app now and redeploys it automatically on every push.<\/p>\n<ol>\n<li>Select <strong>Import your Git repository<\/strong>.<\/li>\n<li>In the <strong>Connect Git provider<\/strong> card, click <strong>Connect with GitHub<\/strong> or <strong>Connect with GitLab<\/strong>.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26247\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_1.png\" alt=\"Connect Git provider card with Connect with GitHub and Connect with GitLab buttons\" width=\"519\" height=\"510\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_1.png 519w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_1-300x295.png 300w\" sizes=\"(max-width: 519px) 100vw, 519px\" \/><br \/>\nIf your GitHub account is already connected, click <strong>Continue with GitHub<\/strong>.<\/li>\n<li>The first time you connect GitHub, you\u2019re redirected to GitHub. Click <strong>Authorize<\/strong> to allow Hostinger to access your repositories.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2025\/11\/c74d3095-697c-4f8f-9d5e-91973cbc76bf.png\" alt=\"GitHub authorization page for the Hostinger app\" width=\"1024\" height=\"519\" \/><\/li>\n<li>In the <strong>Select Git repository to import<\/strong> card, select the repository containing your Node.js app, then click <strong>Next<\/strong>. Use <strong>Search your repositories<\/strong> to find it faster.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26256\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19.png\" alt=\"Select Git repository to import card with a repository search field\" width=\"576\" height=\"757\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19.png 576w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19-228x300.png 228w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/li>\n<\/ol>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">One hosting plan can only be connected to one GitHub account at a time. All Node.js websites within that hosting plan use the same GitHub account. Hostinger also builds a temporary preview for each pull request in the connected repository, as explained in <a data-click-id=\"hgr-post-content-link-how-to-use-pull-request-previews-for-node-js-websites-in-hos\" href=\"https:\/\/www.hostinger.com\/support\/how-to-use-pull-request-previews-for-node-js-websites-in-hostinger\/\">How to use pull request previews for Node.js websites in Hostinger<\/a>.<\/div>\n<h3 id=\"Deploying-from-Public-Repository\">Deploying a Node.js web app from a public repository URL<\/h3>\n<p>Deploying from a public repository URL copies the repository into a new repository in your connected Git account, and your app deploys from that copy.<\/p>\n<ol>\n<li>Select <strong>Public repository URL<\/strong>.<\/li>\n<li>In the <strong>Import your Git repository<\/strong> card, enter the repository address in the <strong>Public repository URL<\/strong> field, for example <code>https:\/\/github.com\/owner\/repository<\/code>, then click <strong>Next<\/strong>.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26248\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_2.png\" alt=\"Import your Git repository card with the Public repository URL field\" width=\"516\" height=\"508\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_2.png 516w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_2-300x295.png 300w\" sizes=\"(max-width: 516px) 100vw, 516px\" \/><\/li>\n<li>In the <strong>Connect Git provider<\/strong> card, click <strong>Connect with GitHub<\/strong> or <strong>Connect with GitLab<\/strong>, or <strong>Continue with GitHub<\/strong> if your GitHub account is already connected.<\/li>\n<li>Name the new repository in the <strong>Repository name<\/strong> card, following the steps in Name the new repository for a public repository URL or template.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26257\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19_1.png\" alt=\"Repository name card with Git account, repository name, and Private repository toggle\" width=\"585\" height=\"810\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19_1.png 585w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19_1-217x300.png 217w\" sizes=\"(max-width: 585px) 100vw, 585px\" \/><\/li>\n<\/ol>\n<h3 id=\"Deploying-by-Uploading-Files\">Deploying a Node.js web app by uploading files<\/h3>\n<ol>\n<li>Select <strong>Upload your files<\/strong>.<\/li>\n<li>In the <strong>Upload your app files<\/strong> card, drag and drop your project archive or click <strong>Upload<\/strong>. Supported formats are <code>.zip<\/code>, <code>.tar.gz<\/code>, <code>.tgz<\/code>, <code>.tar<\/code>, and <code>.gz<\/code>.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26249\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_3.png\" alt=\"Upload your app files card for uploading a project archive\" width=\"514\" height=\"507\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_3.png 514w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-17_3-300x296.png 300w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/li>\n<\/ol>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">Your uploaded file is saved automatically.<\/div>\n<h3 id=\"Deploying-from-template\">Deploying a Node.js web app from a template<\/h3>\n<p>Each Node.js web app template is a ready-made code project that Hostinger copies into a new repository in your connected Git account. The app then deploys from that repository, so you can start developing right away instead of starting from an empty project.<\/p>\n<p>Node.js web app templates are different from Hostinger AI Builder app templates. Node.js web app templates give you editable source code in your own repository, while Hostinger AI Builder app templates are edited by chatting with AI, with no code.<\/p>\n<ol>\n<li>Select <strong>Start from a template<\/strong>.<\/li>\n<li>Find a template with <strong>Search templates<\/strong>, or scroll through the template cards, which show a preview image and a short description. Select the template you want to use. To return to the deployment options, click <strong>Back<\/strong>.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26252\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_2.png\" alt=\"Node.js web app template list with Search templates\" width=\"502\" height=\"510\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_2.png 502w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_2-295x300.png 295w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/li>\n<li>In the <strong>Connect Git provider<\/strong> card, click <strong>Connect with GitHub<\/strong> or <strong>Connect with GitLab<\/strong>, or <strong>Continue with GitHub<\/strong> if your GitHub account is already connected.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26253\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_3.png\" alt=\"Connect Git provider card shown after selecting a Node.js web app template\" width=\"507\" height=\"498\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_3.png 507w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_3-300x295.png 300w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/li>\n<li>Name the new repository in the <strong>Repository name<\/strong> card, following the steps in Name the new repository for a public repository URL or template.<\/li>\n<\/ol>\n<h3>Name the new repository for a public repository URL or template<\/h3>\n<p>The <strong>Repository name<\/strong> card shows the app type and the source repository under <strong>Cloning from<\/strong>. Hostinger creates a new repository in your Git account, clones the app into it, and deploys it to Hostinger.<\/p>\n<ol>\n<li>Select the Git account for the new repository from the dropdown.<\/li>\n<li>Enter a <strong>Repository name<\/strong>, for example <code>my-app<\/code>. The card shows the address where the repository will be created.<\/li>\n<li>Keep <strong>Private repository<\/strong> turned on so only you can see the repository, or turn it off to make the repository public.<\/li>\n<li>Click <strong>Next<\/strong>.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-26257\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19_1.png\" alt=\"Repository name card with Git account, repository name, and Private repository toggle\" width=\"585\" height=\"810\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19_1.png 585w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-19_1-217x300.png 217w\" sizes=\"(max-width: 585px) 100vw, 585px\" \/><\/li>\n<\/ol>\n<h2 id=\"h-step-3-review-the-build-and-output-settings\">Step 3 \u2013 Review the build and output settings<\/h2>\n<p>Hostinger detects your framework and suggests build settings in the <strong>Build and output settings<\/strong> card. Check or change the following settings, then click <strong>Continue<\/strong>:<\/p>\n<ul>\n<li><strong>Build configuration<\/strong> \u2013 the <strong>Framework preset<\/strong>, <strong>Node version<\/strong>, and <strong>Root directory<\/strong>. Git deployments also show the <strong>Branch<\/strong> to deploy from. To run your app on Bun instead of Node.js, select <strong>Bun<\/strong> in <strong>Runtime<\/strong> on the <strong>Redeploy<\/strong> page after the first deployment.<\/li>\n<li><strong>Build and output settings<\/strong> \u2013 the <strong>Package manager<\/strong> (npm, yarn, or pnpm) and, depending on your framework, the <strong>Build command<\/strong>, <strong>Output directory<\/strong>, or <strong>Entry file<\/strong>.<\/li>\n<li><strong>Environment Variables<\/strong> \u2013 click <strong>Add<\/strong> to add the <a data-click-id=\"hgr-post-content-link-environment-variables\" href=\"https:\/\/www.hostinger.com\/support\/how-to-add-environment-variables-during-node-js-application-deployment\/\">environment variables<\/a> your app needs.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26261\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_15-29.png\" alt=\"\" width=\"573\" height=\"717\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_15-29.png 573w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_15-29-240x300.png 240w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/><\/p>\n<p>For a repository that holds several apps, see <a data-click-id=\"hgr-post-content-link-how-to-deploy-monorepos-with-npm-yarn-or-pnpm-on-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/how-to-deploy-monorepos-with-npm-yarn-or-pnpm-on-hostinger\/\">how to deploy monorepos with npm, yarn or pnpm on Hostinger<\/a>.<\/p>\n<p><strong>If your framework type is Other<\/strong><\/p>\n<p>When <strong>Other<\/strong> is selected, the <strong>Build command<\/strong> is set to <strong>None<\/strong>, and the <strong>Output directory<\/strong> and <strong>Entry file<\/strong> fields are empty. Fill them in if your app needs them:<\/p>\n<ul>\n<li><strong>Build command<\/strong> \u2013 the command that builds your project for production, if your app has a build step.<\/li>\n<li><strong>Output directory<\/strong> \u2013 the folder where your app\u2019s build files are generated. Common values are <code>dist<\/code>, <code>build<\/code>, <code>out<\/code>, and <code>.next<\/code>.<\/li>\n<li><strong>Entry file<\/strong> \u2013 the main file that starts your application, for example <code>index.js<\/code> or <code>src\/server.js<\/code>. This is only required if your application needs it.<\/li>\n<\/ul>\n<p>If you\u2019re unsure of these values, check your project\u2019s <code>package.json<\/code> or build configuration file.<\/p>\n<h2 id=\"h-step-4-review-and-deploy-your-node-js-web-app\">Step 4 \u2013 Review and deploy your Node.js web app<\/h2>\n<p>The <strong>Review and deploy<\/strong> card summarizes your domain, your code source, and your build settings. Click <strong>Change<\/strong> next to the domain or code source, or <strong>Edit<\/strong> next to <strong>Build settings<\/strong>, to adjust them. You can also ask in the chat to change something.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26250\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18.png\" alt=\"Review and deploy card summarizing the domain, code source, and build settings\" width=\"507\" height=\"528\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18.png 507w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18-288x300.png 288w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/p>\n<p>Click <strong>Deploy<\/strong> to start the deployment. The <strong>Deploying\u2026<\/strong> card shows the deployment progress and the <strong>Build logs<\/strong>. If a deployment fails, see <a data-click-id=\"hgr-post-content-link-how-to-troubleshoot-a-failed-node-js-deployment-using-build\" href=\"https:\/\/www.hostinger.com\/support\/how-to-troubleshoot-a-failed-node-js-deployment-using-build-logs\/\">how to troubleshoot a failed Node.js deployment using build logs<\/a>.<\/p>\n<p>Once the deployment completes, the <strong>Deployment completed!<\/strong> card shows a preview screenshot of your built website, so you can confirm the deployment was successful. Open your app from the link under <strong>App at Hostinger<\/strong>, or click <strong>Go to dashboard<\/strong> to manage it.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26251\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_1.png\" alt=\"Deployment completed! card with a website preview and Go to dashboard\" width=\"397\" height=\"531\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_1.png 397w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_14-18_1-224x300.png 224w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/p>\n<h2 id=\"h-step-5-connect-your-ide-with-hostinger-connector-optional\">Step 5 \u2013 Connect your IDE with Hostinger Connector (optional)<\/h2>\n<p>Hostinger Connector lets you manage your Node.js website directly from your local IDE, without leaving your development environment. After the deployment completes, set it up in the <strong>Let your coding agent run your Hostinger account<\/strong> section of the <strong>Deployment completed!<\/strong> card:<\/p>\n<ol>\n<li>Select your IDE in the <strong>Coding tool<\/strong> dropdown, for example VS Code.<\/li>\n<li>Click <strong>Install<\/strong> to install Hostinger Connector for your coding tool. For Claude Code, follow the prompt to install the Hostinger plugin. Once installed, follow the setup flow to link it to your Hostinger account.<\/li>\n<\/ol>\n<p>For full setup instructions, see <a data-click-id=\"hgr-post-content-link-how-to-set-up-web-hosting-mcp-on-local-ides\" href=\"https:\/\/www.hostinger.com\/support\/how-to-set-up-web-hosting-mcp-on-local-ides\/\">How to set up Web Hosting MCP on local IDEs<\/a>.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">If your app was built using an AI tool like Lovable or Bolt rather than deployed from your own repository, see <a data-click-id=\"hgr-post-content-link-how-to-host-your-lovable-bolt-or-other-vibe-coded-website-on\" href=\"https:\/\/www.hostinger.com\/support\/host-your-lovable-bolt-or-any-other-vibe-coded-website-on-hostinger\/\">how to host your Lovable, Bolt, or other vibe-coded website on Hostinger<\/a> instead. For apps built with Codex, see <a data-click-id=\"hgr-post-content-link-how-to-deploy-apps-built-with-codex-on-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/how-to-deploy-apps-built-with-codex-on-hostinger\/\">How to deploy apps built with Codex on Hostinger<\/a>.<\/div>\n<h2 id=\"Managing-Front-End-Application\">Manage your Node.js app in Hostinger dashboard<\/h2>\n<p>The Node.js website dashboard gives you quick access to your app\u2019s repository, deployments, settings, and resource usage:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/04\/2026-04-09_17-12.png\" alt=\"Node.js website dashboard in Hostinger dashboard\" width=\"905\" height=\"690\" \/><\/p>\n<p><strong>1. GitHub repository quick link<\/strong><\/p>\n<p>If your app is deployed via GitHub, the dashboard shows a direct link to the connected GitHub repository. Click it to open the repository in a new tab and check your code, branches, or recent commits without leaving Hostinger dashboard.<\/p>\n<p><strong>2. Last deployment details<\/strong><\/p>\n<p>The dashboard displays three details about your most recent deployment:<\/p>\n<ul>\n<li><a data-click-id=\"hgr-post-content-link-deployment-status\" href=\"https:\/\/www.hostinger.com\/support\/how-to-troubleshoot-a-failed-node-js-deployment-using-build-logs\/\">Deployment status<\/a> (success or failed).<\/li>\n<li>Timestamp of the last deployment.<\/li>\n<li>A quick link to view the full deployment log, so you don\u2019t need to open the Deployments section to check the latest build status.<\/li>\n<\/ul>\n<p><strong>3. Quick links to key features<\/strong><\/p>\n<p>Quick navigation links let you jump directly to:<\/p>\n<ul>\n<li>Deployments.<\/li>\n<li><a data-click-id=\"hgr-post-content-link-environment-variables-2\" href=\"https:\/\/www.hostinger.com\/support\/how-to-add-environment-variables-during-node-js-application-deployment\/\">Environment Variables<\/a>.<\/li>\n<li>Settings &amp; Redeploy.<\/li>\n<li>File Manager.<\/li>\n<\/ul>\n<p><strong>4. Resource usage graphs<\/strong><\/p>\n<p>The dashboard includes average resource usage graphs for CPU, RAM, and I\/O. These graphs show how your Node.js app consumes hosting resources without opening the full Resource Usage section. If any metric approaches the red dotted line, which marks your plan\u2019s limit, optimize your app or upgrade your plan.<\/p>\n<p><strong>5. Restart<\/strong><\/p>\n<p>The dashboard includes a <strong>Restart<\/strong> button when you click <strong>Running<\/strong> for server-side Node.js applications. Use it to restart the server process directly from Hostinger dashboard, with no full rebuild or redeployment needed.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">The Restart option is only available for server-side apps, such as Express.js, Next.js, and NestJS. Static front-end applications, such as React, Vue, Angular, and Vite, don\u2019t run a persistent server process and don\u2019t have this option.<\/div>\n<h3>File structure after a Node.js deployment<\/h3>\n<p>Every deployment creates a new build folder, and your live site points to the most recent successful one unless you roll back to an earlier version. The relevant locations for back-end frameworks are:<\/p>\n<ul>\n<li><strong>Build files location<\/strong>: <code>\/home\/{username}\/domains\/{domain}\/hbuilds\/current\/nodejs<\/code>.<\/li>\n<li><strong>Live static output<\/strong>: <code>\/home\/{username}\/domains\/{domain}\/public_html<\/code>.<\/li>\n<li><strong><code>.htaccess<\/code> location<\/strong>: <code>\/home\/{username}\/domains\/{domain}\/public_html\/.htaccess<\/code>, created automatically to handle routing and serve content correctly.<\/li>\n<li><strong><code>current<\/code><\/strong>: a symlink that always points to the currently live version of your website. Each successful deployment is saved in its own folder under <code>hbuilds\/versions\/{build-id}\/<\/code>, and <code>current<\/code> automatically updates to point to the newest version, or to the earlier version you choose with instant rollback. If a deployment fails, your existing live version stays in place. Hostinger keeps the live version and up to 2 earlier successful versions while your disk and inode usage stay below 80%. Older versions are removed automatically. To switch your live site back to an earlier version without rebuilding, use instant rollback as described in <a data-click-id=\"hgr-post-content-link-how-to-redeploy-a-node-js-application\" href=\"https:\/\/www.hostinger.com\/support\/how-to-redeploy-a-node-js-application\/\">how to redeploy a Node.js application<\/a>.<\/li>\n<\/ul>\n<p><strong>Finding your live files<\/strong><\/p>\n<p>In the <a data-click-id=\"hgr-post-content-link-file-manager\" href=\"https:\/\/www.hostinger.com\/support\/4548688-basic-actions-in-the-file-manager-in-hostinger\/\">File Manager<\/a>, look for <code>hbuilds\/current<\/code> inside your domain\u2019s directory.<\/p>\n<p>If <code>hbuilds\/current<\/code> exists, your live files are stored in the latest deployment structure. Browse to <code>hbuilds\/current\/nodejs<\/code> for Node.js applications, or <code>hbuilds\/current\/public_html<\/code> for static output.<\/p>\n<p>An older <code>nodejs\/<\/code> folder outside <code>hbuilds\/current<\/code> is a legacy folder that is no longer used once your site is deployed with the new structure, so you can safely delete it.<\/p>\n<p>If <code>hbuilds\/current<\/code> doesn\u2019t exist yet, your site may still use a legacy structure. In that case, keep the existing <code>nodejs\/<\/code> folder until the site is redeployed.<\/p>\n<p><strong>Checking whether your latest deployment went live<\/strong><\/p>\n<p>Check the <strong>Deployments<\/strong> page in your website\u2019s dashboard for the most accurate deployment information. It shows the deployment timestamp and status for each build, making it the best place to confirm when a deployment went live.<\/p>\n<p>The File Manager\u2019s <strong>Last modified<\/strong> column shows each file\u2019s original modification time. When a <code>.zip<\/code> file is extracted, those timestamps are preserved from the archive, so they may differ from the deployment time.<\/p>\n<p><strong>NOTES<\/strong><\/p>\n<ul>\n<li>Files under <code>hbuilds\/<\/code> and <code>public_html<\/code> are managed by the deployment system and are overwritten on every deployment. Manual edits made through File Manager, FTP, or SSH don&#8217;t persist, so update your source files or your repository and redeploy instead. Lines you add to <code>public_html\/.htaccess<\/code>, such as a redirect, are an exception and stay when you redeploy, unless your app includes its own <code>.htaccess<\/code> file.<\/li>\n<li>Use Environment Variables for configuration values you need to change without redeploying. Server-side values apply after you restart the app. Variables used in the browser, such as those starting with <code>NEXT_PUBLIC_<\/code> or <code>VITE_<\/code>, are added at build time, so they need a redeploy.<\/li>\n<li>If you get a 403 error after redeployment, check that the <code>.htaccess<\/code> file in <code>public_html<\/code> correctly routes to the <code>nodejs<\/code> directory. Redeploying the application regenerates this file.<\/li>\n<\/ul>\n<h2 id=\"h-connect-a-database-with-the-node-js-database-connect-wizard\">Connect a database with the Node.js Database Connect Wizard<\/h2>\n<p>The Node.js dashboard includes a Database Connect Wizard that connects your application to an external database. The wizard supports two providers: Supabase and MongoDB Atlas.<\/p>\n<ol>\n<li>Locate the Database Connect Wizard section in your Node.js dashboard.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-04_13-22.png\" alt=\"Database Connect Wizard section in the Node.js dashboard\" width=\"1340\" height=\"694\" \/><\/li>\n<li>Select your database provider, Supabase or MongoDB Atlas.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-04_13-23.png\" alt=\"Database provider selection with Supabase and MongoDB Atlas\" width=\"1146\" height=\"680\" \/><\/li>\n<li>For Supabase, sign in to your Supabase account to authorize the connection, then create a new database or select an existing one.<\/li>\n<li>All required <a data-click-id=\"hgr-post-content-link-environment-variables-3\" href=\"https:\/\/www.hostinger.com\/support\/how-to-add-environment-variables-during-node-js-application-deployment\/\">environment variables<\/a> are retrieved automatically and applied to your next deployment, with no manual entry needed.<\/li>\n<li>The project rebuilds automatically after setup to apply the new configuration.<\/li>\n<\/ol>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">Your app\u2019s code must already support the database you\u2019re connecting to. Hostinger does not modify your application code.<\/div>\n<p>For database connection setup, see <a data-click-id=\"hgr-post-content-link-connecting-a-supabase-database-to-a-hostinger-node-js-applic\" href=\"https:\/\/www.hostinger.com\/support\/connecting-a-supabase-database-to-a-hostinger-node-js-application\/\">Connecting a Supabase database to a Hostinger Node.js application<\/a> and <a data-click-id=\"hgr-post-content-link-connecting-a-hostinger-mysql-database-to-a-node-js-applicati\" href=\"https:\/\/www.hostinger.com\/support\/connecting-a-hostinger-mysql-database-to-a-node-js-application\/\">Connecting a Hostinger MySQL database to a Node.js application<\/a>.<\/p>\n<h2 id=\"h-monitor-node-js-dependency-vulnerabilities\">Monitor Node.js dependency vulnerabilities<\/h2>\n<p>Hostinger Node.js hosting includes automatic vulnerability monitoring for your application\u2019s dependencies. To open it, go to <strong>Security<\/strong> \u2192 <strong>Vulnerabilities<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-04_13-25.png\" alt=\"Vulnerabilities page for a Node.js app in Hostinger dashboard\" width=\"1356\" height=\"685\" \/><\/p>\n<p>Vulnerability monitoring does four things:<\/p>\n<ul>\n<li>Scans deployed applications for vulnerable npm packages.<\/li>\n<li>Reports affected package names, available fixed (secure) versions, and severity levels.<\/li>\n<li>Scans all newly deployed applications automatically.<\/li>\n<li>Scans applications deployed before this feature launched on their next deployment.<\/li>\n<\/ul>\n<p>When a vulnerability is detected, update the affected package to the fixed version listed in the report, then <a data-click-id=\"hgr-post-content-link-redeploy-your-application\" href=\"https:\/\/www.hostinger.com\/support\/how-to-redeploy-a-node-js-application\/\">redeploy your application<\/a>.<\/p>\n<p>For Node.js apps deployed via GitHub, apply an auto-fix directly from the <strong>Vulnerabilities<\/strong> page:<\/p>\n<ol>\n<li>Select one or more vulnerabilities and click <strong>Auto-fix<\/strong>, or <strong>Auto-fix all<\/strong> to fix them in bulk.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-21_12-40.png\" alt=\"Auto-fix button on the Vulnerabilities page\" width=\"953\" height=\"606\" \/><\/li>\n<li>Hostinger opens a pull request on your connected GitHub repository with the recommended package update.<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-21_12-33_1.png\" alt=\"Pull request opened by Hostinger on GitHub with the package update\" width=\"846\" height=\"610\" \/><\/li>\n<li>Review and merge the pull request on GitHub. Nothing is pushed to your branches without your action.<\/li>\n<li>Once merged, a new deployment starts automatically and the vulnerability is marked as fixed.<\/li>\n<\/ol>\n<p><strong>NOTES<\/strong><\/p>\n<ul>\n<li>Auto-fix is only available for apps deployed via GitHub, not for file upload deployments.<\/li>\n<li>Not all vulnerabilities have an auto-fix available. For those that don\u2019t, update the affected package manually and <a data-click-id=\"hgr-post-content-link-redeploy\" href=\"https:\/\/www.hostinger.com\/support\/how-to-redeploy-a-node-js-application\/\">redeploy<\/a>.<\/li>\n<li>Auto-fix requires the Hostinger GitHub App to have <a data-click-id=\"hgr-post-content-link-write-access-to-your-repository\" href=\"https:\/\/www.hostinger.com\/support\/how-to-update-github-repository-permissions-for-node-js-hosting\/\">write access to your repository<\/a>. Without write access, an error appears when you try to create a pull request, and you need to approve the permission update via the email GitHub sends on Hostinger\u2019s behalf.<\/li>\n<li>You review and merge every pull request yourself. Hostinger doesn\u2019t push changes directly to your branches or access your secrets or environment variables.<\/li>\n<\/ul>\n<h2 id=\"Frequently-Asked-Questions\">Frequently asked questions<\/h2>\n<p><strong>1. I already have a domain added at Hostinger. How do I deploy Node.js to it?<\/strong><\/p>\n<p>Node.js websites must currently be added as a new website. An existing WordPress or PHP website can\u2019t be switched to Node.js in place. To use a domain that\u2019s already on your hosting plan:<\/p>\n<ol>\n<li><a data-click-id=\"hgr-post-content-link-download-a-full-backup\" href=\"https:\/\/www.hostinger.com\/support\/5981435-how-to-download-backups-at-hostinger\/\">Download a full backup<\/a> of the existing website.<\/li>\n<li>If the domain is your hosting plan\u2019s main domain, set another domain as the main domain first.<\/li>\n<li><a data-click-id=\"hgr-post-content-link-remove-the-existing-website\" href=\"https:\/\/www.hostinger.com\/support\/3624731-how-to-delete-a-website-from-a-hosting-plan-in-hostinger\/\">Remove the existing website<\/a>. Leave <strong>Delete email service<\/strong> unchecked to keep your email accounts working.<\/li>\n<li>Click <strong>Create site<\/strong>, select <strong>Web App<\/strong>, and add the same domain.<\/li>\n<li>Choose your deployment method and deploy the app.<\/li>\n<li>Check that the domain\u2019s <a data-click-id=\"hgr-post-content-link-mx-records\" href=\"https:\/\/www.hostinger.com\/support\/4443666-how-to-manage-mx-records-at-hostinger\/\">MX records<\/a> are unchanged so email keeps working.<\/li>\n<\/ol>\n<p>To deploy on a subdomain, <a data-click-id=\"hgr-post-content-link-create-the-subdomain\" href=\"https:\/\/www.hostinger.com\/support\/1583405-how-to-create-and-delete-subdomains-in-hostinger\/\">create the subdomain<\/a> as its own website, not as a subfolder, then deploy the Node.js app to it.<\/p>\n<p><strong>2. How do I remove or undeploy my Node.js website?<\/strong><\/p>\n<p>Node.js apps don\u2019t have a <strong>Stop<\/strong> or <strong>Delete<\/strong> button yet. To remove a Node.js app, <a data-click-id=\"hgr-post-content-link-remove-the-entire-website\" href=\"https:\/\/www.hostinger.com\/support\/3624731-how-to-delete-a-website-from-a-hosting-plan-in-hostinger\/\">remove the entire website<\/a> from Hostinger dashboard. This deletes all deployments and takes the app offline.<\/p>\n<p>To take a Node.js app offline temporarily, deploy a simple maintenance page instead. Disconnecting GitHub or turning off auto-deployment doesn\u2019t take the app offline, because it only stops new deployments.<\/p>\n<p>When you remove a Node.js website:<\/p>\n<ul>\n<li>The domain stays in your Hostinger account.<\/li>\n<li>Email accounts keep working if you leave <strong>Delete email service<\/strong> unchecked.<\/li>\n<li>DNS records stay with the domain.<\/li>\n<li>Subdomains are separate websites and aren\u2019t affected.<\/li>\n<\/ul>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #fed9db80;border-color: #fd3a5733\">\n<p>Removing a website can\u2019t be undone. <a data-click-id=\"hgr-post-content-link-download-backups\" href=\"https:\/\/www.hostinger.com\/support\/5981435-how-to-download-backups-at-hostinger\/\">Download backups<\/a> of your files, databases, and important emails, and export your DNS zone before removing it.<\/p>\n<\/div>\n<p><strong>3. How do I connect, reconnect, or disconnect GitHub on my Node.js website?<\/strong><\/p>\n<p>To connect or reconnect GitHub, go to the website <strong>Dashboard<\/strong> in Hostinger dashboard, click the \u22ee menu, and select <strong>Connect to GitHub<\/strong>. You\u2019re redirected to GitHub to authorize the Hostinger app. Once authorized, automatic and manual deployments resume. If your GitHub account was previously disconnected, the same steps apply, with no need to remove and re-add the website.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/06\/2026-06-24_13-54_1.png\" alt=\"Connect to GitHub option in the website Dashboard menu\" width=\"1360\" height=\"739\" \/><\/p>\n<p>To change your GitHub repository, go to the website <strong>Dashboard<\/strong> in Hostinger dashboard, click the \u22ee menu, and select <strong>Change repository<\/strong>. The GitHub onboarding flow lets you select the repository to use, based on your currently connected GitHub account. Once you select a new repository, a new deployment starts automatically, and the newly connected repository overwrites your previous website files.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">Changing your deployment repository overwrites existing data in your target directory with files from the newly connected repository.<\/div>\n<p>To disconnect GitHub, go to the website <strong>Dashboard<\/strong> in Hostinger dashboard, click the \u22ee menu, and select <strong>Disconnect GitHub<\/strong>. This unlinks your GitHub account from the website, and existing deployed files stay unchanged. You can also manage your GitHub account connection from your Hostinger dashboard profile details.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-23_13-58.png\" alt=\"Disconnect GitHub option in the website Dashboard menu\" width=\"1274\" height=\"836\" \/><\/p>\n<p>If you get an error during GitHub OAuth authorization, disconnect GitHub at the account level first, then reconnect from the website Dashboard. To disconnect, click your profile icon in the top right, go to <strong>Account information<\/strong>, scroll to <strong>Account integrations<\/strong>, and click <strong>Disconnect<\/strong> next to GitHub.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-10_11-24.png\" alt=\"Account integrations section with the GitHub Disconnect button\" width=\"1367\" height=\"622\" \/><\/p>\n<p>Then go back to <strong>Websites<\/strong>, open the affected website\u2019s Dashboard, and click <strong>Connect GitHub<\/strong>. This resolves the mapping error in most cases.<\/p>\n<p><strong>If the website shows \u201cGit provider is not connected\u201d<\/strong><\/p>\n<p>This message means no active Hostinger GitHub App installation is linked to the website. There are three common causes:<\/p>\n<ul>\n<li>The GitHub setup took longer than 15 minutes and timed out.<\/li>\n<li>GitHub access was removed, or the repository changed owner.<\/li>\n<li>A different GitHub account is already connected to the hosting plan. Only one GitHub account can be connected per hosting plan.<\/li>\n<\/ul>\n<p>To fix it:<\/p>\n<ol>\n<li>On GitHub, go to <strong>Settings<\/strong> \u2192 <strong>Applications<\/strong> and uninstall the Hostinger app.<\/li>\n<li>Reconnect GitHub from the website <strong>Dashboard<\/strong> in Hostinger dashboard.<\/li>\n<li>Give the Hostinger app access to the repository you deploy from, as described in <a data-click-id=\"hgr-post-content-link-how-to-update-github-repository-permissions-for-node-js-host\" href=\"https:\/\/www.hostinger.com\/support\/how-to-update-github-repository-permissions-for-node-js-hosting\/\">how to update GitHub repository permissions for Node.js hosting<\/a>.<\/li>\n<\/ol>\n<p><strong>If pushing to GitHub doesn\u2019t start a deployment<\/strong><\/p>\n<ol>\n<li>Check that auto-deployment is on and set to the branch you pushed to.<\/li>\n<li>Wait if a previous deployment is stuck on <strong>Deploying<\/strong>. It fails automatically after 30 minutes, and new deployments can start again.<\/li>\n<li>Turn auto-deployment off and on again.<\/li>\n<\/ol>\n<p>An empty <strong>Webhooks<\/strong> page in your GitHub repository is normal, because Hostinger uses the GitHub App instead of webhooks. If deployments still don\u2019t start, contact support with the commit ID, branch name, and time of the push.<\/p>\n<p><strong>4. What npm commands can be run?<\/strong><\/p>\n<p>You don\u2019t need to run npm commands manually via SSH or install npm separately, because Hostinger pre-installs it.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #feedaf80;border-color: #fbc91633\">On web and cloud hosting plans, npm commands run automatically when you deploy Node.js apps, but they can\u2019t be run through SSH.<\/div>\n<p>The available npm build commands appear in the <strong>Build command<\/strong> dropdown of the <strong>Build and output settings<\/strong> card during setup. For projects that use Prisma, see <a data-click-id=\"hgr-post-content-link-how-to-deploy-prisma-apps-on-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/how-to-deploy-prisma-apps-on-hostinger-node-js-hosting\/\">how to deploy Prisma apps on Hostinger<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26261\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_15-29.png\" alt=\"\" width=\"573\" height=\"717\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_15-29.png 573w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-27_15-29-240x300.png 240w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/><\/p>\n<p><strong>5. How do I connect a custom domain to my Node.js app?<\/strong><\/p>\n<p>See how to <a data-click-id=\"hgr-post-content-link-connect-a-custom-domain-to-a-node-js-application\" href=\"https:\/\/www.hostinger.com\/support\/how-to-connect-a-custom-domain-to-a-node-js-application\/\">connect a custom domain to a Node.js application<\/a> for setup steps.<\/p>\n<p><strong>6. Does Hostinger offer templates for Node.js web apps?<\/strong><\/p>\n<p>Yes. Hostinger offers pre-built Node.js web app templates under <strong>Start from a template<\/strong> when you create a Web App in Hostinger dashboard. Hostinger copies the chosen template into a new repository in your connected GitHub or GitLab account, and the app deploys after you review the build settings.<\/p>\n<p>Your Node.js web app is now live in Hostinger. Manage deployments, environment variables, and resource usage from the Node.js website dashboard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add a Node.js web app in Hostinger: deploy from GitHub, upload a .zip, start from a pre-built template, or connect your IDE with Hostinger Connector.<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[301],"tags":[],"class_list":["post-6553","post","type-post","status-publish","format-standard","hentry","category-node-js"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/how-to-deploy-a-nodejs-website-in-hostinger","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/6553","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\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=6553"}],"version-history":[{"count":99,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/6553\/revisions"}],"predecessor-version":[{"id":26534,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/6553\/revisions\/26534"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=6553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=6553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=6553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}