{"id":9993,"date":"2021-03-09T08:47:22","date_gmt":"2021-03-09T08:47:22","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=9993"},"modified":"2023-02-15T07:12:25","modified_gmt":"2023-02-15T07:12:25","slug":"setup-nodejs-directadmin","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/","title":{"rendered":"How to Setup Node.js from DirectAdmin Panel?"},"content":{"rendered":"<p>Node.js is one of the most popular open-source server environments. Based on JavaScript, it is versatile and compatible with various platforms (Windows, Linux, Unix, Mac OS X, etc.)<\/p>\n<h2>To Setup Node.js from DirectAdmin:<\/h2>\n<p>1. Log in to your <strong>DirectAdmin<\/strong> account.<\/p>\n<p>2. Go to the <strong>Extra Features<\/strong> section and click on <strong>Setup Node.js App<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10821\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png\" alt=\"\" width=\"979\" height=\"299\"><\/p>\n<p>3. Click on<strong> CREATE APPLICATION<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10822\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/create_appl.png\" alt=\"\" width=\"1352\" height=\"523\"><\/p>\n<p>4. You have to set\/enter the details for the application you wish to create in the following fields:<\/p>\n<ul>\n<li><strong>Node.js version<\/strong>: Select the appropriate Node.js version for your application. DirectAdmin recommends <strong>10.22.0<\/strong> version.<\/li>\n<li><strong>Application mode<\/strong>: Set the value for the NODE_ENV variable to <strong>Development<\/strong> or <strong>Production<\/strong>.<\/li>\n<li><strong>Application root<\/strong>: It is addressed to the user&#8217;s application directory where you upload application files.<\/li>\n<li><strong>Application URL<\/strong>: It is an HTTP\/HTTPS link that points to your <strong>application URL<\/strong>.<\/li>\n<li><strong>Application startup file<\/strong>: Enter an appropriate startup file for your application. For example, we have entered &#8216;<strong>main.js<\/strong>&#8216; for our application.<\/li>\n<li><strong>Passenger log file<\/strong>: You have to define a path for your <strong>log filename<\/strong>, as shown in the screenshot.<br \/>\nOnce you are done filling in all the details, click on <strong>SAVE<\/strong>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10823\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/create_nodejs.jpg\" alt=\"\" width=\"1317\" height=\"544\"><\/p>\n<div class=\"kb-wisdom-wrapr kb-wisdom-info kb-wisdom-wrapr-blue\">\n<div class=\"kb-wisdom-col kb-wisdom-col-icon\">\n<div class=\"kb-wisdom-icon\">\n<div>&nbsp;<\/div>\n<\/div>\n<\/div>\n<div class=\"kb-wisdom-col kb-wisdom-col-content\">\n<p><strong>Note<\/strong>: You can also add new environment variables for your applications. Click on Add Variable and enter a name and a value.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<h4 style=\"background-color: #D5EAFF; padding: 10px;\">Pick A <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/nodejs-hosting\" target=\"_blank\" rel=\"noopener\">NodeJs Hosting<\/a> Plans for Better Deployment!<\/h4>\n<h2>To Manage a Node.js Application:<\/h2>\n<h3>Stop Node.js<\/h3>\n<ul>\n<li>Click on the <strong>Stop<\/strong> icon as shown in the screenshot.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10826\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/stop.jpg\" alt=\"\" width=\"1287\" height=\"105\"><\/p>\n<ul>\n<li>The <strong>Stop<\/strong> icon will change to the <strong>Start<\/strong> icon indicating the application has stopped.<\/li>\n<\/ul>\n<h3>Start Node.js<\/h3>\n<ul>\n<li>Click on the <strong>Start<\/strong> icon in the stopped application row as shown below.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10824\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/start.jpg\" alt=\"\" width=\"1284\" height=\"106\"><\/p>\n<ul>\n<li>The <strong>Start<\/strong> icon will change back to the <strong>Stop<\/strong> icon.<\/li>\n<\/ul>\n<p>The rest of the functions are explained as shown in the screenshot of a running application:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10827\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/web_app.jpg\" alt=\"\" width=\"1335\" height=\"212\"><\/p>\n<h3>Restart<\/h3>\n<ul>\n<li>Click on the <strong>Restart<\/strong> icon in the application that is already started.<\/li>\n<li>Restarting unblocks the blocked applications.<\/li>\n<\/ul>\n<h3>Edit<\/h3>\n<ul>\n<li>Click the <strong>Pencil<\/strong> icon.<\/li>\n<li>The application tab opens where you can edit the fields and set new values for the application.<\/li>\n<\/ul>\n<h3>Remove<\/h3>\n<ul>\n<li>Click the <strong>Bin<\/strong> icon.<\/li>\n<li>The confirmation pop-up to start the removal will appear.<\/li>\n<li>Click on <strong>Agree<\/strong>.<\/li>\n<\/ul>\n<p>The application is removed from the Web Applications table and, a confirmation message will be displayed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Node.js is one of the most popular open-source server environments. Based on JavaScript, it is versatile and compatible with various platforms (Windows, Linux, Unix, Mac OS X, etc.) To Setup Node.js from DirectAdmin: 1. Log in to your DirectAdmin account. 2. Go to the Extra Features section and click on Setup Node.js App. 3. Click [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1777,41],"tags":[1780,1877,565,566,1959,1961,1962,1960,1958],"class_list":["post-9993","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-directadmin","category-howtos","tag-directadmin","tag-directadmin-faqs","tag-node-js","tag-node-js-application","tag-node-js-directadmin","tag-node-js-faqs","tag-run-node-js","tag-setup-node-js","tag-setup-node-js-from-directadmin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Setup and Manage Node.js from DirectAdmin Panel?<\/title>\n<meta name=\"description\" content=\"This article gives detailed information about the Node.js setup and application management functions in the DirectAdmin panel.\" \/>\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.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup and Manage Node.js from DirectAdmin Panel?\" \/>\n<meta property=\"og:description\" content=\"This article gives detailed information about the Node.js setup and application management functions in the DirectAdmin panel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-09T08:47:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-15T07:12:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/\",\"name\":\"How to Setup and Manage Node.js from DirectAdmin Panel?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png\",\"datePublished\":\"2021-03-09T08:47:22+00:00\",\"dateModified\":\"2023-02-15T07:12:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article gives detailed information about the Node.js setup and application management functions in the DirectAdmin panel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png\",\"width\":979,\"height\":299},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup Node.js from DirectAdmin Panel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup and Manage Node.js from DirectAdmin Panel?","description":"This article gives detailed information about the Node.js setup and application management functions in the DirectAdmin panel.","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.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/","og_locale":"en_GB","og_type":"article","og_title":"How to Setup and Manage Node.js from DirectAdmin Panel?","og_description":"This article gives detailed information about the Node.js setup and application management functions in the DirectAdmin panel.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-03-09T08:47:22+00:00","article_modified_time":"2023-02-15T07:12:25+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png","type":"","width":"","height":""}],"author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/","name":"How to Setup and Manage Node.js from DirectAdmin Panel?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png","datePublished":"2021-03-09T08:47:22+00:00","dateModified":"2023-02-15T07:12:25+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article gives detailed information about the Node.js setup and application management functions in the DirectAdmin panel.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/03\/open_setup.png","width":979,"height":299},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/setup-nodejs-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Setup Node.js from DirectAdmin Panel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"views":571,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=9993"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9993\/revisions"}],"predecessor-version":[{"id":14736,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9993\/revisions\/14736"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=9993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=9993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=9993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}