{"id":8728,"date":"2025-11-05T10:42:52","date_gmt":"2025-11-05T10:42:52","guid":{"rendered":"https:\/\/kb.cloudhostgeek.com\/?p=8728"},"modified":"2025-11-05T10:42:52","modified_gmt":"2025-11-05T10:42:52","slug":"setting-up-a-node-js-application-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/","title":{"rendered":"Setting Up a Node.js Application in cPanel"},"content":{"rendered":"\n<p><strong>Introduction: <\/strong><br>Looking to set up a Node.js app on Node.Js hosting using cPanel? Node.js support allows you to launch server-side JavaScript apps without root access. This post will help you through the process of creating a Node.js application in cPanel\u2014it&#8217;s quick, simple, and easy for beginners.<\/p>\n\n\n\n<p><strong>Requirements:<\/strong><br>\u25cf Node.js support should be enabled in cPanel (CloudLinux \/ LVE Manager)<br>\u25cf File manager &amp; FTP Access<br>\u25cf Basic app files (package.json, app.js, or server.js)<\/p>\n\n\n\n<p>Want to skip the setup?<br>Get <a href=\"https:\/\/www.bigcloudy.com\/nodejs-hosting\">BigCloudy\u2019s Node.js hosting<\/a> <br>\u25cf Pre-installed Node.js<br>\u25cf SSH and Git access<br>\u25cf Free SSL and one-click deploy<br>Explore Node.js hosting plans at affordable pricing<\/p>\n\n\n\n<p>Step-by-step process for setting up a Node.js application in cPanel: <br>Log in to cPanel:<br>\u25cf Go to the cPanel dashboard of your hosting provider.<br>\u25cf Click on Setup Node.js App under Software.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"437\" height=\"148\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png\" alt=\"\" class=\"wp-image-8732\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png 437w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Setup-NodeJS-300x102.png 300w\" sizes=\"(max-width: 437px) 100vw, 437px\" \/><\/figure>\n\n\n\n<p>Create a Node.js Application in cPanel shared hosting:<br>Click Create Application.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"273\" height=\"107\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/create-application-1.png\" alt=\"\" class=\"wp-image-8733\"\/><\/figure>\n\n\n\n<p><strong>Submit the following information as required.<\/strong><br>\u25cf <strong>Node.js version: <\/strong><br>Select your preferred Node.js versions from the list below(Recommended use latest one): <br>8.17.0, 9.11.2, 10.24.1, 11.15.0, 12.22.9, 14.20.1,16.17.1,18.14.1, 20.10.0, 22.14.0 <br>\u25cf <strong>Application mode: <\/strong><br>Development or Production.<br>\u25cf <strong>Application root: <\/strong><br>This is the folder where your app files will be stored. It refers to your cPanel home directory (\/home\/username). For example, typing myapp will result in the entire path \/home\/username\/myapp.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1306\" height=\"688\" src=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Create-NodeJS-APP.png\" alt=\"\" class=\"wp-image-8740\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Create-NodeJS-APP.png 1306w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Create-NodeJS-APP-300x158.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Create-NodeJS-APP-1024x539.png 1024w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Create-NodeJS-APP-768x405.png 768w\" sizes=\"(max-width: 1306px) 100vw, 1306px\" \/><\/figure>\n\n\n\n<p><strong>Application root:<\/strong> <br>It is a physical address to your application on a server that corresponds with its URI. Upload your application files here.<\/p>\n\n\n\n<p><strong>Application URL: <\/strong><br>Choose a domain or subdomain where your Node.js app can be accessible. <br>ex: MyFirstApplication.example-domain.com<\/p>\n\n\n\n<p><strong>Application startup file:<\/strong> <br>This can be empty or choose file name<\/p>\n\n\n\n<p><strong>Passenger log file: <\/strong><br>Keep it empty, it will take automatically file as<\/p>\n\n\n\n<p class=\"has-ast-global-color-4-background-color has-background\"><em>\/home\/username\/logs\/passenger.log<\/em><\/p>\n\n\n\n<p>Last step click <strong>&#8220;Create&#8221;<\/strong><\/p>\n\n\n\n<p><strong>Upload your project files. <\/strong><br>Use File Manager in cPanel or an FTP client like FileZilla to upload your Node.js files.<br>During setup, be careful to put all the important files, such as package.json, app.js (or server.js), and any other folders, into the folder you chose as the application root.<\/p>\n\n\n\n<p><strong>Install Dependencies:<\/strong><br>        Return to the setup Node.js app in cPanel.<br>        Click Edit next to your application.<br>        Click <strong>Run NPM Install<\/strong> to automatically install all dependencies listed in your package.json file. Note: This step confirms that your app has              everything to run it correctly.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Looking to set up a Node.js app on Node.Js hosting using cPanel? Node.js support allows you to launch server-side JavaScript apps without root access. This post will help you through the process of creating a Node.js application in cPanel\u2014it&#8217;s quick, simple, and easy for beginners. Requirements:\u25cf Node.js support should be enabled in cPanel (CloudLinux \/ LVE Manager)\u25cf File manager &amp; FTP Access\u25cf Basic app files (package.json, app.js, or server.js) Want to skip the setup?Get BigCloudy\u2019s Node.js hosting \u25cf Pre-installed Node.js\u25cf SSH and Git access\u25cf Free SSL and one-click deployExplore Node.js hosting plans at affordable pricing Step-by-step process for setting up a Node.js application in cPanel: Log in to cPanel:\u25cf Go to the cPanel dashboard of your hosting provider.\u25cf Click on Setup Node.js App under Software. Create a Node.js Application in cPanel shared hosting:Click Create Application. Submit the following information as required.\u25cf Node.js version: Select your preferred Node.js versions from the list below(Recommended use latest one): 8.17.0, 9.11.2, 10.24.1, 11.15.0, 12.22.9, 14.20.1,16.17.1,18.14.1, 20.10.0, 22.14.0 \u25cf Application mode: Development or Production.\u25cf Application root: This is the folder where your app files will be stored. It refers to your cPanel home directory (\/home\/username). For example, typing myapp will result in the entire path \/home\/username\/myapp. Application root: It is a physical address to your application on a server that corresponds with its URI. Upload your application files here. Application URL: Choose a domain or subdomain where your Node.js app can be accessible. ex: MyFirstApplication.example-domain.com Application startup file: This can be empty or choose file name Passenger log file: Keep it empty, it will take automatically file as \/home\/username\/logs\/passenger.log Last step click &#8220;Create&#8221; Upload your project files. Use File Manager in cPanel or an FTP client like FileZilla to upload your Node.js files.During setup, be careful to put all the important files, such as package.json, app.js (or server.js), and any other folders, into the folder you chose as the application root. Install Dependencies: Return to the setup Node.js app in cPanel. Click Edit next to your application. Click Run NPM Install to automatically install all dependencies listed in your package.json file. Note: This step confirms that your app has everything to run it correctly.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[301],"tags":[322,324,323],"class_list":["post-8728","post","type-post","status-publish","format-standard","hentry","category-node-js-hosting","tag-nodejs","tag-nodejs-deployment","tag-setup-nodejs-application","no-post-thumbnail"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.7 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Setting Up a Node.js Application in cPanel - CloudHostGeek Help Center<\/title>\n<meta name=\"description\" content=\"Learn how to set up a Node.js application in cPanel with this step-by-step guide. Perfect for beginners looking to deploy and manage Node.js apps on cPanel hosting.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting Up a Node.js Application in cPanel\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up a Node.js application in cPanel with this step-by-step guide. Perfect for beginners looking to deploy and manage Node.js apps on cPanel hosting.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudHostGeek Help Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BigCloudyHosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-05T10:42:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bigcloudypvtltd\" \/>\n<meta name=\"twitter:site\" content=\"@bigcloudypvtltd\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Setting Up a Node.js Application in cPanel - CloudHostGeek Help Center","description":"Learn how to set up a Node.js application in cPanel with this step-by-step guide. Perfect for beginners looking to deploy and manage Node.js apps on cPanel hosting.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Setting Up a Node.js Application in cPanel","og_description":"Learn how to set up a Node.js application in cPanel with this step-by-step guide. Perfect for beginners looking to deploy and manage Node.js apps on cPanel hosting.","og_url":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/","og_site_name":"CloudHostGeek Help Center","article_publisher":"https:\/\/www.facebook.com\/BigCloudyHosting\/","article_published_time":"2025-11-05T10:42:52+00:00","og_image":[{"url":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@bigcloudypvtltd","twitter_site":"@bigcloudypvtltd","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/"},"author":{"name":"admin","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/378209d3259734d846716786afbc52b0"},"headline":"Setting Up a Node.js Application in cPanel","datePublished":"2025-11-05T10:42:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/"},"wordCount":396,"commentCount":0,"publisher":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization"},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png","keywords":["NodeJS","NodeJS deployment","setup nodejs application"],"articleSection":["Node.js Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/","name":"Setting Up a Node.js Application in cPanel - CloudHostGeek Help Center","isPartOf":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png","datePublished":"2025-11-05T10:42:52+00:00","description":"Learn how to set up a Node.js application in cPanel with this step-by-step guide. Perfect for beginners looking to deploy and manage Node.js apps on cPanel hosting.","breadcrumb":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#primaryimage","url":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png","contentUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2025\/06\/Setup-NodeJS.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/setting-up-a-node-js-application-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bigcloudy.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Setting Up a Node.js Application in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","name":"https:\/\/www.bigcloudy.com\/","description":"Your step-by-step guide to hosting, servers &amp; website tools.","publisher":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bigcloudy.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization","name":"BigCloudy internt services pvt ltd.","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","contentUrl":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","width":368,"height":114,"caption":"BigCloudy internt services pvt ltd."},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/BigCloudyHosting\/","https:\/\/x.com\/bigcloudypvtltd","https:\/\/www.instagram.com\/bigcloudypvtltd\/"]},{"@type":"Person","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/378209d3259734d846716786afbc52b0","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42ea90e921e5926f1db3403e79195ea7c0e898504fd43555e6099a85c9c91443?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42ea90e921e5926f1db3403e79195ea7c0e898504fd43555e6099a85c9c91443?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/kb.cloudhostgeek.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=8728"}],"version-history":[{"count":0,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8728\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=8728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=8728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=8728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}