Hostinger supports Node.js web applications on Business/Unlimited 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 Create site → Web App 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.
There are four ways to provide your Node.js web app code in Hostinger:
- Import your Git repository – deploy from a GitHub or GitLab repository, with automatic deployments on every push.
- Public repository URL – copy a public repository into a new repository in your Git account and deploy it.
- Upload your files – deploy by uploading a compressed project archive.
- Start from a template – copy a pre-built template into a new repository in your Git account and deploy it.
After deployment, connect Cursor, VS Code, Windsurf, or another supported IDE with Hostinger Connector to manage your deployment without leaving your editor.
You can also deploy a Node.js web app while setting up a new hosting plan. In the setup chat, select No → I’m a developer or I use a coding agent → Push your code, we host it, then choose a domain and a data centre. The chat then offers the same four ways to provide your code. For details, see Set up a Node.js, WordPress, or PHP/HTML website as a developer.
Which hosting plans support Node.js web applications?
Node.js web applications are available on Business/Unlimited web hosting and Cloud hosting plans:
- Business Web Hosting
- Cloud Startup
- Cloud Professional
- Cloud Enterprise
- Cloud Enterprise Plus
If you’re currently on a different plan, upgrade your hosting plan through Hostinger dashboard to access Node.js support. For the number of Node.js websites, process limits, and other limits on each plan, see Hostinger Node.js limits for web and cloud plans.
What you’ll need
- A Business hosting plan or Cloud hosting plan (Cloud Startup, Cloud Professional, Cloud Enterprise, or Cloud Enterprise Plus).
- A Node.js app built with a supported framework.
- 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.
Supported frameworks and technologies
Your Node.js app must be built with one of the frameworks available in the Framework preset dropdown during setup:
- Frontend-supported applications
- Angular
- Astro
- Create React App
- Gatsby
- Next.js
- Nuxt
- Parcel
- React
- React Router
- Svelte
- SvelteKit
- Vite
- Vue.js
- Backend-supported applications
- Astro
- Express
- Fastify
- Hono
- NestJS
- Next.js
- Nitro
- Nuxt
- React Router
- SvelteKit
Supported Node.js versions: 18.x, 20.x, 22.x, 24.x.
In addition to the listed frameworks, Hostinger supports an Other type for Node.js applications that don’t use a specific detectable framework:
- Auto-assigned – if Hostinger can’t detect your framework automatically, your app is assigned the Other type.
- Manual selection – you can also select Other manually from the Framework preset dropdown during setup.
Watch how to deploy a Node.js web app to Hostinger.
Step 1 – Create a Node.js web app and choose a domain
Log in to Hostinger dashboard, go to Websites, click Create site on the hosting plan you want to use, and select Web App.

On the What domain or subdomain would you like to use? screen, type the domain you want to use or select a domain you already own, then click Next. To set up a domain later, click Use temporary domain, and your app gets a random address on hostingersite.com.

Step 2 – Choose how to provide your Node.js web app code
The Deploy your web app card offers four options: Import your Git repository, Public repository URL, Upload your files, and Start from a template. Select one and follow the matching steps.

Deploying from a GitHub or GitLab repository
Importing a Git repository deploys your app now and redeploys it automatically on every push.
- Select Import your Git repository.
- In the Connect Git provider card, click Connect with GitHub or Connect with GitLab.

If your GitHub account is already connected, click Continue with GitHub. - The first time you connect GitHub, you’re redirected to GitHub. Click Authorize to allow Hostinger to access your repositories.

- In the Select Git repository to import card, select the repository containing your Node.js app, then click Next. Use Search your repositories to find it faster.

Deploying a Node.js web app from a public repository URL
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.
- Select Public repository URL.
- In the Import your Git repository card, enter the repository address in the Public repository URL field, for example
https://github.com/owner/repository, then click Next.

- In the Connect Git provider card, click Connect with GitHub or Connect with GitLab, or Continue with GitHub if your GitHub account is already connected.
- Name the new repository in the Repository name card, following the steps in Name the new repository for a public repository URL or template.

Deploying a Node.js web app by uploading files
- Select Upload your files.
- In the Upload your app files card, drag and drop your project archive or click Upload. Supported formats are
.zip,.tar.gz,.tgz,.tar, and.gz.

Deploying a Node.js web app from a template
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.
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.
- Select Start from a template.
- Find a template with Search templates, 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 Back.

- In the Connect Git provider card, click Connect with GitHub or Connect with GitLab, or Continue with GitHub if your GitHub account is already connected.

- Name the new repository in the Repository name card, following the steps in Name the new repository for a public repository URL or template.
Name the new repository for a public repository URL or template
The Repository name card shows the app type and the source repository under Cloning from. Hostinger creates a new repository in your Git account, clones the app into it, and deploys it to Hostinger.
- Select the Git account for the new repository from the dropdown.
- Enter a Repository name, for example
my-app. The card shows the address where the repository will be created. - Keep Private repository turned on so only you can see the repository, or turn it off to make the repository public.
- Click Next.

Step 3 – Review the build and output settings
Hostinger detects your framework and suggests build settings in the Build and output settings card. Check or change the following settings, then click Continue:
- Build configuration – the Framework preset, Node version, and Root directory. Git deployments also show the Branch to deploy from.
- Build and output settings – the Package manager (npm, yarn, or pnpm) and, depending on your framework, the Build command, Output directory, or Entry file.
- Environment Variables – click Add to add the environment variables your app needs.

For a repository that holds several apps, see how to deploy monorepos with npm, yarn or pnpm on Hostinger.
If your framework type is Other
When Other is selected, the Build command is set to None, and the Output directory and Entry file fields are empty. Fill them in if your app needs them:
- Build command – the command that builds your project for production, if your app has a build step.
- Output directory – the folder where your app’s build files are generated. Common values are
dist,build,out, and.next. - Entry file – the main file that starts your application, for example
index.jsorsrc/server.js. This is only required if your application needs it.
If you’re unsure of these values, check your project’s package.json or build configuration file.
Step 4 – Review and deploy your Node.js web app
The Review and deploy card summarizes your domain, your code source, and your build settings. Click Change next to the domain or code source, or Edit next to Build settings, to adjust them. You can also ask in the chat to change something.

Click Deploy to start the deployment. The Deploying… card shows the deployment progress and the Build logs. If a deployment fails, see how to troubleshoot a failed Node.js deployment using build logs.
Once the deployment completes, the Deployment completed! card shows a preview screenshot of your built website, so you can confirm the deployment was successful. Open your app from the link under App at Hostinger, or click Go to dashboard to manage it.

Step 5 – Connect your IDE with Hostinger Connector (optional)
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 Let your coding agent run your Hostinger account section of the Deployment completed! card:
- Select your IDE in the Coding tool dropdown, for example VS Code.
- Click Install to install the Hostinger Connector extension for your IDE. Once installed, follow the extension’s setup flow to link it to your Hostinger account.
For full setup instructions, see How to set up Web Hosting MCP on local IDEs.
Manage your Node.js app in Hostinger dashboard
The Node.js website dashboard gives you quick access to your app’s repository, deployments, settings, and resource usage:

1. GitHub repository quick link
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.
2. Last deployment details
The dashboard displays three details about your most recent deployment:
- Deployment status (success or failed).
- Timestamp of the last deployment.
- A quick link to view the full deployment log, so you don’t need to open the Deployments section to check the latest build status.
3. Quick links to key features
Quick navigation links let you jump directly to:
- Deployments.
- Environment Variables.
- Settings & Redeploy.
- File Manager.
4. Resource usage graphs
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’s limit, optimize your app or upgrade your plan.
5. Restart
The dashboard includes a Restart button when you click Running for server-side Node.js applications. Use it to restart the server process directly from Hostinger dashboard, with no full rebuild or redeployment needed.
File structure after a Node.js deployment
Every deployment creates a new build folder, and your live site always points to the most recent successful one. The relevant locations for back-end frameworks are:
- Build files location:
/home/{username}/domains/{domain}/hbuilds/current/nodejs. - Live static output:
/home/{username}/domains/{domain}/public_html. .htaccesslocation:/home/{username}/domains/{domain}/public_html/.htaccess, created automatically to handle routing and serve content correctly.current: a symlink that always points to the currently live version of your website. Each successful deployment is saved in its own folder underhbuilds/versions/{build-id}/, andcurrentautomatically updates to point to the newest version. If a deployment fails, your existing live version stays in place. The latest two successful versions are kept, and older versions are removed automatically.
Finding your live files
In the File Manager, look for hbuilds/current inside your domain’s directory.
If hbuilds/current exists, your live files are stored in the latest deployment structure. Browse to hbuilds/current/nodejs for Node.js applications, or hbuilds/current/public_html for static output.
An older nodejs/ folder outside hbuilds/current is a legacy folder that is no longer used once your site is deployed with the new structure, so you can safely delete it.
If hbuilds/current doesn’t exist yet, your site may still use a legacy structure. In that case, keep the existing nodejs/ folder until the site is redeployed.
Checking whether your latest deployment went live
Check the Deployments page in your website’s 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.
The File Manager’s Last modified column shows each file’s original modification time. When a .zip file is extracted, those timestamps are preserved from the archive, so they may differ from the deployment time.
NOTES
- Files under
hbuilds/andpublic_htmlare managed by the deployment system and are overwritten on every deployment. Manual edits made through File Manager, FTP, or SSH don’t persist, so update your source files or your repository and redeploy instead. Use Environment Variables for configuration values you need to change without redeploying. - If you get a 403 error after redeployment, check that the
.htaccessfile inpublic_htmlcorrectly routes to thenodejsdirectory. Redeploying the application regenerates this file.
Connect a database with the Node.js Database Connect Wizard
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.
- Locate the Database Connect Wizard section in your Node.js dashboard.

- Select your database provider, Supabase or MongoDB Atlas.

- For Supabase, sign in to your Supabase account to authorize the connection, then create a new database or select an existing one.
- All required environment variables are retrieved automatically and applied to your next deployment, with no manual entry needed.
- The project rebuilds automatically after setup to apply the new configuration.
For database connection setup, see Connecting a Supabase database to a Hostinger Node.js application and Connecting a Hostinger MySQL database to a Node.js application.
Monitor Node.js dependency vulnerabilities
Hostinger Node.js hosting includes automatic vulnerability monitoring for your application’s dependencies. To open it, go to Security → Vulnerabilities.

Vulnerability monitoring does four things:
- Scans deployed applications for vulnerable npm packages.
- Reports affected package names, available fixed (secure) versions, and severity levels.
- Scans all newly deployed applications automatically.
- Scans applications deployed before this feature launched on their next deployment.
When a vulnerability is detected, update the affected package to the fixed version listed in the report, then redeploy your application.
For Node.js apps deployed via GitHub, apply an auto-fix directly from the Vulnerabilities page:
- Select one or more vulnerabilities and click Auto-fix, or Auto-fix all to fix them in bulk.

- Hostinger opens a pull request on your connected GitHub repository with the recommended package update.

- Review and merge the pull request on GitHub. Nothing is pushed to your branches without your action.
- Once merged, a new deployment starts automatically and the vulnerability is marked as fixed.
NOTES
- Auto-fix is only available for apps deployed via GitHub, not for file upload deployments.
- Not all vulnerabilities have an auto-fix available. For those that don’t, update the affected package manually and redeploy.
- Auto-fix requires the Hostinger GitHub App to have write access to your repository. 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’s behalf.
- You review and merge every pull request yourself. Hostinger doesn’t push changes directly to your branches or access your secrets or environment variables.
Frequently asked questions
1. I already have a domain added at Hostinger. How do I deploy Node.js to it?
Node.js websites must currently be added as a new website. An existing WordPress or PHP website can’t be switched to Node.js in place. To use a domain that’s already on your hosting plan:
- Download a full backup of the existing website.
- If the domain is your hosting plan’s main domain, set another domain as the main domain first.
- Remove the existing website. Leave Delete email service unchecked to keep your email accounts working.
- Click Create site, select Web App, and add the same domain.
- Choose your deployment method and deploy the app.
- Check that the domain’s MX records are unchanged so email keeps working.
To deploy on a subdomain, create the subdomain as its own website, not as a subfolder, then deploy the Node.js app to it.
2. How do I remove or undeploy my Node.js website?
Node.js apps don’t have a Stop or Delete button yet. To remove a Node.js app, remove the entire website from Hostinger dashboard. This deletes all deployments and takes the app offline.
To take a Node.js app offline temporarily, deploy a simple maintenance page instead. Disconnecting GitHub or turning off auto-deployment doesn’t take the app offline, because it only stops new deployments.
When you remove a Node.js website:
- The domain stays in your Hostinger account.
- Email accounts keep working if you leave Delete email service unchecked.
- DNS records stay with the domain.
- Subdomains are separate websites and aren’t affected.
Removing a website can’t be undone. Download backups of your files, databases, and important emails, and export your DNS zone before removing it.
3. How do I connect, reconnect, or disconnect GitHub on my Node.js website?
To connect or reconnect GitHub, go to the website Dashboard in Hostinger dashboard, click the ⋮ menu, and select Connect to GitHub. You’re 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.

To change your GitHub repository, go to the website Dashboard in Hostinger dashboard, click the ⋮ menu, and select Change repository. 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.
To disconnect GitHub, go to the website Dashboard in Hostinger dashboard, click the ⋮ menu, and select Disconnect GitHub. 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.

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 Account information, scroll to Account integrations, and click Disconnect next to GitHub.

Then go back to Websites, open the affected website’s Dashboard, and click Connect GitHub. This resolves the mapping error in most cases.
If the website shows “Git provider is not connected”
This message means no active Hostinger GitHub App installation is linked to the website. There are three common causes:
- The GitHub setup took longer than 15 minutes and timed out.
- GitHub access was removed, or the repository changed owner.
- A different GitHub account is already connected to the hosting plan. Only one GitHub account can be connected per hosting plan.
To fix it:
- On GitHub, go to Settings → Applications and uninstall the Hostinger app.
- Reconnect GitHub from the website Dashboard in Hostinger dashboard.
- Give the Hostinger app access to the repository you deploy from, as described in how to update GitHub repository permissions for Node.js hosting.
If pushing to GitHub doesn’t start a deployment
- Check that auto-deployment is on and set to the branch you pushed to.
- Wait if a previous deployment is stuck on Deploying. It fails automatically after 30 minutes, and new deployments can start again.
- Turn auto-deployment off and on again.
An empty Webhooks page in your GitHub repository is normal, because Hostinger uses the GitHub App instead of webhooks. If deployments still don’t start, contact support with the commit ID, branch name, and time of the push.
4. What npm commands can be run?
You don’t need to run npm commands manually via SSH or install npm separately, because Hostinger pre-installs it.
The available npm build commands appear in the Build command dropdown of the Build and output settings card during setup. For projects that use Prisma, see how to deploy Prisma apps on Hostinger.
5. How do I connect a custom domain to my Node.js app?
See how to connect a custom domain to a Node.js application for setup steps.
6. Does Hostinger offer templates for Node.js web apps?
Yes. Hostinger offers pre-built Node.js web app templates under Start from a template 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.
Your Node.js web app is now live in Hostinger. Manage deployments, environment variables, and resource usage from the Node.js website dashboard.