amuck-landowner

How to get my webserver to start automatically if my VPS is rebooted?

Ricky Spanish

New Member
My website went down when my vps provider had maintenance and my vps restarted. It was short maintenance but my site was down for much longer because I did not realize my server was back online quickly... but the webserver not started back up.

How can I make sure my webserver will come back on automatically if I restart my vps? 
 

tonyg

New Member
Run this from the shell:

/usr/sbin/update-rc.d nginx defaults

Then reboot OS to verify:

shutdown -r now
 
Last edited by a moderator:
Top
amuck-landowner