Install Node.js on Cpanel, how to do it

Install Node.js on Cpanel, how to do it



How to install Node on cpanel? This video will walk you through what is required to combine Node.js and cpanel, which in turn will allow you to run PHP side by side with Node apps. Using Node with Apache, or in conjunction with an Apache server is something quite a few of us would like to do.

You may need to install a special node application package specific to the cPanel hosting environment. Additionally, and this is dealt with in the video, you may have to contact your shared hosting provider.

6 thoughts on “Install Node.js on Cpanel, how to do it

  1. Hi, can I have your email? I want to ask about hosting node js and install express in my hosting. I have an error, plsss 🙏🏻

  2. Hi, can you paste the lines that you use in the .htaccess please? thanks for sharing.

    I'm ussing the following but I only see the js code in the browser:

    RewriteEngine On
    RewriteRule ^$ http://127.0.0.1:3000/ [P, L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ http://127.0.0.1:3000/$1 [P, L]

  3. when I input this /opt/cpanel/ea-nodejs10/bin/node is return an error: No such file or directory

Leave a Reply

Your email address will not be published. Required fields are marked *