Report this

What is the reason for this report?

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

Posted on November 11, 2019

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.



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.