skip to Main Content

I’ve developed a wallpaper app whose backend is written in node.js . Everything in development was fine then today I bought a vps server with cpanel for 3 months from a hosting service provider .But I’m a complete beginner in server management so now how to run this node.js script in my ftp server . Can anyone please guide me to run node.js script on server ?

It may sound like off-topic but please do help me to fix my problem.

I’m a complete beginner so please do excuse me if my question is foolish.

2

Answers


  1. I think there’s no support for using Node.js with cPanel. But I can recommend you to use for example Heroku for testing or hobby development. Heroku is free, very simple and cool for small projects.

    Login or Signup to reply.
  2. If it’s just a simple, single node.js script, I’d recommend running this as a lambda function – basically, use a service that will run this script at a given HTTP endpoint without needing to manage a server. This can be free depending on how much it’s used. For example, here are some places to run it:

    As CenyGG suggested, Heroku is also a great place to do this and will be free if you don’t need the app to be live 24/7 (it will go to sleep and take a few seconds to “wake up” if it hasn’t been used in a while).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search