Sunday, November 13, 2022

[FIXED] how to host angular and node js project on the shared hosting (cpanel or plesk)?

Issue

I have two different shared hosting on GoDaddy server (cPanel and Plesk odin), I want to host my NodeJS project there.


Solution

You CAN do this.

Most tutorials have you downloading node + npm through the command line... and since you cannot use sudo in terminal on a shared GoDaddy server you have to install nvm to install npm and node.

But really, you only need a single file from the Node.js package to get a server running. It is much easier to download the package, and manually add the one file to cPanel.

Follow this tutorial for the most simple method of running a Node.js server on GoDaddy hosting.


You can't host Node project on cpanel. You will need a node server for that. Cpanel does not come with node installed, neither it could be Installed. You can check with aws or blueocean for that.



Answered By - Shashank
Answer Checked By - Katrina (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.