{"id":7268,"date":"2026-01-08T11:19:08","date_gmt":"2026-01-08T11:19:08","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=7268"},"modified":"2026-09-01T03:48:03","modified_gmt":"2026-09-01T03:48:03","slug":"how-to-redeploy-a-node-js-application","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-redeploy-a-node-js-application\/","title":{"rendered":"How to redeploy a Node.js application"},"content":{"rendered":"<p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">You can redeploy your <a href=\"https:\/\/www.hostinger.com\/tutorials\/what-is-node-js\/\">Node.js<\/a> application on Hostinger at any time. Redeploying is useful when you need to apply configuration changes, update environment variables, change build settings, or <a href=\"https:\/\/www.hostinger.com\/support\/how-to-deploy-a-nodejs-website-in-hostinger\/\">deploy a new version of your application<\/a>.<\/p><h2 id=\"h-how-to-redeploy-a-node-js-application\">How to redeploy a Node.js application<\/h2><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">There are two ways to start the redeployment process.<\/p><p data-renderer-start-pos=\"396\" data-local-id=\"0b8cd641-d9a8-480d-9c14-5d7a02a2c763\">You can initiate redeployment from either of the following locations:<\/p><ul class=\"ak-ul\" data-local-id=\"2473dada-40e2-42ab-b44d-af70283d562e\" data-indent-level=\"1\">\n<li>\n<p data-renderer-start-pos=\"469\" data-local-id=\"7b13dff3-993f-4b8c-bd15-fd33063040bc\">From the <strong data-renderer-mark=\"true\">Website Dashboard<\/strong><\/p>\n<\/li>\n<li>\n<p data-renderer-start-pos=\"499\" data-local-id=\"0559ab9f-4391-4699-8474-0a43ce7f98ad\">From the <strong data-renderer-mark=\"true\">Deployments<\/strong> section<\/p>\n<\/li>\n<\/ul><p data-renderer-start-pos=\"536\" data-local-id=\"d2092627-453c-44d0-9bfa-b5fe8657cdb0\">Both options lead to the same redeployment flow.<\/p><h3 id=\"option-1-redeploy-from-website-dashboard\" class=\"text-text-100 mt-2 -mb-1 text-base font-bold\">Option 1 &mdash; Redeploy from the Website Dashboard<\/h3><ol class=\"[li_&amp;]:mb-0 [li_&amp;]:mt-1.5 [li_&amp;]:gap-1.5 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal flex flex-col gap-2 pl-8 mb-3\">\n<li class=\"whitespace-normal break-words pl-2\">Open the Website Dashboard for your Node.js application<\/li>\n<li class=\"whitespace-normal break-words pl-2\">Click <strong>Redeploy<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16775\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-01.png\" alt=\"\" width=\"1357\" height=\"412\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-01.png 1357w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-01-300x91.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-01-1024x311.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-01-768x233.png 768w\" sizes=\"(max-width: 1357px) 100vw, 1357px\" \/><\/li>\n<\/ol><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">You will be redirected to the redeployment settings page.<\/p><h3 id=\"option-2-redeploy-from-deployment-section\" class=\"text-text-100 mt-2 -mb-1 text-base font-bold\">Option 2 &mdash; Redeploy from the Deployments section<\/h3><ol class=\"[li_&amp;]:mb-0 [li_&amp;]:mt-1.5 [li_&amp;]:gap-1.5 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal flex flex-col gap-2 pl-8 mb-3\">\n<li class=\"whitespace-normal break-words pl-2\">Open your Website Dashboard<\/li>\n<li class=\"whitespace-normal break-words pl-2\">Navigate to the <strong>Deployments<\/strong> section<\/li>\n<li class=\"whitespace-normal break-words pl-2\">Click <strong data-renderer-mark=\"true\">Redeploy<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16779\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04_1.png\" alt=\"\" width=\"877\" height=\"134\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04_1.png 877w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04_1-300x46.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04_1-768x117.png 768w\" sizes=\"(max-width: 877px) 100vw, 877px\" \/>\n<div class=\"rich-media-item mediaSingleView-content-wrap image-center css-16pk4ql\" data-layout=\"center\" data-width=\"760\" data-width-type=\"pixel\" data-node-type=\"mediaSingle\" data-vc=\"media-single\" data-renderer-start-pos=\"951\" data-media-vc-wrapper=\"true\" data-ssr-placeholder=\"Eb7Gh:EfLS5:z8NN7:qz-Pe:Y6119-2\"><\/div>\n<\/li>\n<\/ol><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">This will also open the redeployment settings page.<\/p><h2 id=\"review-and-update-redeployment-settings\" class=\"text-text-100 mt-2 -mb-1 text-base font-bold\">Review and update redeployment settings<\/h2><p data-renderer-start-pos=\"1035\" data-local-id=\"68990f18-194f-4923-841a-ad45bd7a74fa\">Once you enter the redeployment flow, you can review and update your<strong> build settings<\/strong>, including:<\/p><ul class=\"ak-ul\" data-local-id=\"adb57eb0-3156-4e22-a53c-0ff2f7f809f7\" data-indent-level=\"1\">\n<li>\n<p data-renderer-start-pos=\"1178\" data-local-id=\"cbea469d-dc19-468f-998a-41c8b2b93616\">Node.js version<\/p>\n<\/li>\n<li>\n<p data-renderer-start-pos=\"1197\" data-local-id=\"76100bf4-777f-4f30-bc9e-acf108377860\">Build command<\/p>\n<\/li>\n<li>\n<p data-renderer-start-pos=\"1214\" data-local-id=\"663fbedc-c23e-4de2-8bbc-9030f3050234\">Start command<\/p>\n<\/li>\n<li>\n<p data-renderer-start-pos=\"1231\" data-local-id=\"8693fefe-7320-45c5-a4d4-7fb151d0b36b\">Environment variables<\/p>\n<\/li>\n<\/ul><p data-renderer-start-pos=\"1256\" data-local-id=\"195436eb-bbb9-4a60-9f20-0f764e4db1a5\">Make any required changes before continuing.<\/p><div class=\"rich-media-item mediaSingleView-content-wrap image-center css-16pk4ql\" data-layout=\"center\" data-width=\"760\" data-width-type=\"pixel\" data-node-type=\"mediaSingle\" data-vc=\"media-single\" data-renderer-start-pos=\"1302\" data-media-vc-wrapper=\"true\" data-ssr-placeholder=\"Eb7Gh:EfLS5:z8NN7:qz-Pe:Y6119-3\">\n<div class=\"css-3kenc0\">\n<div class=\"css-vhfmu2\" data-media-badges=\"true\" data-testid=\"media-badges\" data-ssr-placeholder=\"nouWf:Eb7Gh:EfLS5:z8NN7:qz-Pe:Y6119-3\"><img decoding=\"async\" class=\"alignnone size-full wp-image-16778\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04.png\" alt=\"\" width=\"886\" height=\"760\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04.png 886w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04-300x257.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-24_12-04-768x659.png 768w\" sizes=\"(max-width: 886px) 100vw, 886px\" \/><\/div>\n<\/div>\n<\/div><h2 id=\"start-the-redeployment\" class=\"text-text-100 mt-2 -mb-1 text-base font-bold\">Start the redeployment<\/h2><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">After reviewing or updating the build settings:<\/p><ol class=\"[li_&amp;]:mb-0 [li_&amp;]:mt-1.5 [li_&amp;]:gap-1.5 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal flex flex-col gap-2 pl-8 mb-3\">\n<li class=\"whitespace-normal break-words pl-2\">Confirm the settings<\/li>\n<li class=\"whitespace-normal break-words pl-2\">Click <strong>Redeploy<\/strong> to start the deployment process<\/li>\n<\/ol><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">Your application will be rebuilt and redeployed using the updated configuration.<\/p><h2 id=\"redeployment-based-on-deployment-source\" class=\"text-text-100 mt-2 -mb-1 text-base font-bold\">Redeployment based on deployment source<\/h2><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\">The redeployment behavior depends on how your application was originally deployed.<\/p><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\"><strong>For ZIP-based deployments:<\/strong><\/p><p>If your application was deployed using a .ZIP file, your last uploaded file is automatically saved and will be pre-selected on the redeployment settings page under Source files &rarr; Use previous files.<\/p><ul>\n<li>If your app&rsquo;s content or layout has not changed, you can proceed with the saved file &mdash; no re-upload needed.<\/li>\n<li>If you&rsquo;ve made changes to your code or files, select Upload new files and upload the updated ZIP instead.<\/li>\n<\/ul><div class=\"rich-media-item mediaSingleView-content-wrap image-center css-16pk4ql\" data-layout=\"center\" data-width=\"760\" data-width-type=\"pixel\" data-node-type=\"mediaSingle\" data-vc=\"media-single\" data-renderer-start-pos=\"1980\" data-media-vc-wrapper=\"true\" data-ssr-placeholder=\"Eb7Gh:EfLS5:z8NN7:qz-Pe:Y6119-4\">\n<div class=\"css-3kenc0\">\n<div class=\"css-vhfmu2\" data-media-badges=\"true\" data-testid=\"media-badges\" data-ssr-placeholder=\"nouWf:Eb7Gh:EfLS5:z8NN7:qz-Pe:Y6119-4\"><img decoding=\"async\" class=\"alignnone size-full wp-image-10800\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-20_14-34.png\" alt=\"\" width=\"887\" height=\"672\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-20_14-34.png 887w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-20_14-34-300x227.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-20_14-34-768x582.png 768w\" sizes=\"(max-width: 887px) 100vw, 887px\" \/><\/div>\n<\/div>\n<\/div><p class=\"font-claude-response-body break-words whitespace-normal leading-[1.7]\"><strong>For GitHub-based deployments:<\/strong><\/p><p data-renderer-start-pos=\"2029\" data-local-id=\"15be137c-6727-4342-84bd-e3c72584131a\">If your application is connected to <strong data-renderer-mark=\"true\">GitHub<\/strong>:<\/p><ul class=\"ak-ul\" data-local-id=\"41853943-66ad-4960-9d88-1fd37adabe15\" data-indent-level=\"1\">\n<li>\n<p data-renderer-start-pos=\"2076\" data-local-id=\"04da8c0b-a22d-4891-ae5f-2f8b395290d2\">You <strong data-renderer-mark=\"true\">do not need to re-upload any files<\/strong><\/p>\n<\/li>\n<li>\n<p data-renderer-start-pos=\"2118\" data-local-id=\"76daef99-0db9-467d-9b0e-cad7580a57de\">The latest code from the selected branch will be used automatically<\/p>\n<\/li>\n<\/ul><p data-renderer-start-pos=\"2191\" data-local-id=\"2ae497c8-13ff-4aaf-bce9-f0f149b57eae\">This makes redeployments faster and easier when using GitHub integration.<\/p><h2 data-renderer-start-pos=\"2191\" data-local-id=\"2ae497c8-13ff-4aaf-bce9-f0f149b57eae\" id=\"h-next-js-process-optimization-web-hosting\">Next.js process optimization (Web hosting)<\/h2><p data-renderer-start-pos=\"2191\" data-local-id=\"2ae497c8-13ff-4aaf-bce9-f0f149b57eae\">If your Next.js app is showing high Max Process usage on a Web hosting plan, a platform optimization is available that significantly reduces the number of processes spawned at runtime. New deployments apply this automatically. To apply it to an existing app:<\/p><ul>\n<li data-renderer-start-pos=\"2191\" data-local-id=\"2ae497c8-13ff-4aaf-bce9-f0f149b57eae\">Go to your website <strong>Dashboard &rarr; Deployments.<\/strong><\/li>\n<li data-renderer-start-pos=\"2191\" data-local-id=\"2ae497c8-13ff-4aaf-bce9-f0f149b57eae\">Click <b>Redeploy<\/b>.<\/li>\n<li data-renderer-start-pos=\"2191\" data-local-id=\"2ae497c8-13ff-4aaf-bce9-f0f149b57eae\">Review settings and click <b>Save and Redeploy<\/b>.<\/li>\n<\/ul><p>After redeployment, process usage should decrease substantially. Monitor resource usage in hPanel to confirm.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Redeploy your Node.js application on Hostinger to apply configuration changes or update your code<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[301],"tags":[],"class_list":["post-7268","post","type-post","status-publish","format-standard","hentry","category-node-js"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/how-to-redeploy-a-node-js-application","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7268","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=7268"}],"version-history":[{"count":10,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7268\/revisions"}],"predecessor-version":[{"id":17653,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7268\/revisions\/17653"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=7268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=7268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=7268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}