Now, you can make setting up node.js on hosting more easily by using the NodeJS App Setup feature on cPanel Hosting. Please follow how to run nodejs on the following hosting. If you want to do it manually, that's fine too. Want to know how? Come on, follow the following guidelines.

Remember, the NodeJS feature is only available on Super Hosting Packages and above !

What is Node.js?

Node.jsis one of the platforms created by Ryan Dhal which is made using the Javascript programming language and operates on the server side. Node.js can be run on various operating systems such as Windows, Linux and Mac OS. With Node.js, to create a website you don't need to code from two sides. Just use Javascript, you can create a website that can work on the client side (client side) and the server side (server side). You can set up node.js on KincaiHosting's quality cheap hosting easily.

 

How to Run NodeJS on Hosting

The first thing you will do in this guide on how to run nodejs on hosting is to run the Node.js service first. But keep in mind, you must have access to a good Hosting / Server via SSH. In this tutorial, we will discuss how to run the Node.js service on hosting in 2 ways. The first is through the NodeJS App Setup menu in cPanel. The second is the manual way. We recommend using the first method, namely through the NodeJS App Setup if you want to install NodeJS-based applications such as Ghost, ExpressJS, ReactJS, PhantomJS and so on. Why? Because the first way is easier! You only need to select the NodeJS App Setup menu then enter the configuration only.

The Automatic Way (Through the NodeJS App Setup)

You can set NodeJS via the NodeJS App Setup menu on cPanel Hosting. The step is to log into cPanel then select the menu Setup NodeJS Appin cPanel. To do this, write " nodejs" in the search field. After appearing, please click Setup NodeJS App. For more details, please read Easy JS Node Settings

 

Manual way

1. Perform SSH access

Please  akses server/ hosting yang anda miliki melalui SSH. If you don't know how, please read the SSH Access Guide . Write

 

ssh username@controlpanelURL p 64000

 

2. Checking Node.js

If you have logged on to the server, please check whether Node.js has been installed or not. The way is by typing " node" in the terminal. If you don't have Node.js installed, please install it according to the official Node.js documentation at nodeguide.com. To run Node.js on a server, it's quite easy. Just simply write down the word “node” sebelum script.js.
how to run nodejs on hosting
For example, you have a javascript script called hello.js. Then the script wants to run. All you have to do is quite simple, which is to write node hello.js into the terminal.

3. Restart NodeJS

Then please restart NodeJS first with the following command,

So, look what happened. Your script has been executed successfully!

 

How Can NodeJS Service Get Continuous Uptime?

In order for NodeJS service to have continuous uptime, you can follow the Guidelines for NodeJS Service to Continue .

 

How to Run NodeJS Over Specific Ports?

So that the NodeJS application can be accessed through a certain port and so that it can be accessed at the http / tcp port: 80, you can follow the NodeJS Redirect Guide to Other Ports

 

Closing

Node.js is a Javascript-based platform that can work on the server side. So that today many people are starting to use this Node.js as a substitute for PHP, ASP and so on. Seeing this, KincaiHosting has provided various guides on how to run nodejs on hosting that can be implemented on the server / hosting you have. Such as the steps for running Node.js on the server, running the Node.js service continuously (the Node.js service will restart itself when it is down), as well as setting Node.js on hostin so that it can be accessed by a web browser using the http / tcp port : 80. You can easily configure node.js on your hosting via the NodeJS App Setup feature. KincaiHosting has quality cheap hosting with a variety of features and an affordable price. Want to buy a domain and hosting? Just go to KincaiHosting!

What is Safelink Asia?

Safelink.asia is a completely free tool where you can create short links. URL security with cryptographic algorithm. Protect your web visitors with a secure link, to avoid viruses, malware, thief, etc. Apart from being free, you get paid! Register now!


Shorten URLs & earn money

So, now you can make money from home, when managing and protecting your links with Safelink Asia. Signup for an account in just 1 minutes. Once you've completed your registration just start creating short URLs and sharing the links with your family and friends. See our proof of payment and publisher rate.


Our partners and network

Here are some of our partners and networks that have collaborated on advertising: 401XD Group, MC Project, Kincai Media, Kartu Nama Digital, SEO Secret Indonesia, Safelink Asia, Media Bisnis, Blackexpo, Adigunawan.net.