Running A Node.js App On Shared Hosting Via cPanel
I realize that doing this would not be so easy.
But lately (I had run Node.js apps successfully on a shared server in the past 2 years) it seems well-nigh impossible.
I can create the app no issues and apparently get it started.
I can SSH into the app's folder - though of course as this is not the terminal window that started the Node.js app and I see no sign of a running Node app, for example a console log message like:
RewriteEngine On RewriteRule ^nodeapp/(.*)
$ NodeApp listening on port 3001 . . .RewriteEngine On RewriteRule ^nodeapp/(.*)
-
Host and cPanel keep referring user to the other.:oops: Looks like I need a cheap server I can set up to suit my own needs. 0 -
Well, our documentation is about as official as it gets, at least from our side :D 0 -
Problem is that few hosting companies carry staff with Node expertise. Their clients using it usually run it on an unshared server and manage the whole admin of it (apart from applying the host's security requirements) for themselves. It's only in the last 2 years or so that Node.js has been offered by my host. To my knowledge neither DirectAdmin nor Parallels do so. I am sure there are technical as well as commercial reasons for this. Please feel free to close this thread. 0 -
I do agree that a non-shared system is likely better for this configuration. I'm sorry we can't do more on our end at this time, but let us know if you need anything else in the future. 0 -
The error 503 you saw, may have been because of the Total processes limit. i have seen a dozen times, account reaching the limit 40-60-80-100 processes running a nodejs app. 0 -
Host and cPanel keep referring user to the other.:oops: Looks like I need a cheap server I can set up to suit my own needs.
seems to be common problem with node hosting. I have a similar issue that suddently by node app stopped working with similar error. Locally all is perfect... Seems to be cpanel and its hoster configuration related....0 -
@tomfree Yes. I had been using Node.js on CPanel a couple of years ago with no hassles. Now it's just not working. You can only spend so much time on something. So I got a cheap VPS to test it on. More admin to do but at least I'm in control. 0
Please sign in to leave a comment.
Comments
8 comments