Used shutdown -h now : How to restart my VPS

  • Posted April 24, 2014

I used this command instead of exit : shutdown -h now . Now my site is offline and when I type my IP and try to connect to it , it does not work. What to do ? How can I bring the site online ? Please help.


i have shutdown my vps. how can i start again?

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, all

In order to reboot the droplet using the command line you can use these two options:

sudo reboot


```sudo shutdown -r now``

They basically do the exact same thing so using any of them will complete the task.

Generally speaking, the shutdown command is more preferable because you have the option to specify the reason for the system reboot, e.g a maintenance. The additional feature is that you can schedule when the system needs to be powered down.

sudo shutdown -r now 'System maintenance'

This will reboot the server and it should be online shortly after the reboot.

Hope that this helps! Regards, Alex

@dilip.cauti <br> <br>The login details are for your DigitalOcean account, not the password for the VPS itself. You should see the power menu, it looks like: <br> <br> <br> <br>Click boot. <br> <br>In the future, you can use the command: <br> <br><pre> <br>sudo reboot <br></pre>

Thanks Allison. Is my IP and root password the log in details ?

Login to the the DO control panel click the droplet you want to boot and power it on from there.