Question

After reset root password, how do I get my website back up (running on node.js server)?

I am running on a separate node.js server. I had to reset my root password which, for some reason, crashed my website. I have tried rebooting the droplet, but nothing seems to be working to get the website back up.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

It really depends on your setup, but you most likely just need to start your node app.

  • First go to the document root of your app:
cd /path/to/your/node/app
  • Then start the app:
node app.js

Besides that I would recommend checking out this article here eon how to setup your node app for production:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04

Hope that this helps! Regards, Bobby