How to Reinstall Your VPS Operating System
Whenever you need to, you can reinstall your VPS operating system from the client area on your own; there's no ticket to open and no wait for support. The disk is wiped and a clean copy of the system you choose goes on it. That makes it the fastest way out of a broken setup or a compromised server, or to move from Linux to Windows.
What a reinstall erases
The reinstall deletes everything on the VPS disk, including files, databases, users, installed software and settings. Your IP address and plan stay the same: it's the same server, only the software is reinstalled. Our terms make backups your responsibility, so before you start, copy off anything you want to keep, for example by syncing it with rsync. If a lockout is the reason, try the VPS VNC console before you reinstall, because a reinstall should be your last resort. After reinstalling Windows, redo your hardening with our Windows Server security guide. Our Windows images come licensed and activated.
Reinstall your VPS operating system step by step
- Sign in to the client area and go to Services.
- Find the VPS to reinstall and click View Details.
- At the top of the Product Details page, click Reinstall in the row of buttons.
- Pick an operating system from the list.
- Confirm, and the VPS is wiped and set up with the new system.
Expect it to take a few minutes. While it runs, leave Restart and Power Off alone: cutting a reinstall short leaves the disk with no working system, and you'd have to start over.
Log in after the reinstall
Log in with the details of the fresh installation. No working root password? Click Reset Root Password on the same page and copy the new one from the dialog that appears. Wait a few minutes before you log in, and type the password by hand if pasting fails.
The first SSH connection on Linux will fail with a warning that the remote host identification has changed. Nothing is wrong: the reinstall generated new host keys. Delete the old key on your own computer and connect again:
ssh-keygen -R 203.0.113.10
Swap 203.0.113.10 for your server's IP address, which is listed on the Product Details page.
If the server doesn't come back
To follow the boot, click VNC Access, which opens the server's console in your browser. If the reinstall is done and SSH or Remote Desktop still won't let you in, sign in through that console and correct the network or firewall settings there.
Everything above applies to the VPS plans. Dedicated servers come with IPMI/KVM access rather than these buttons; follow bare metal OS install instead, or open a ticket from the client area if you'd like us to do it.
Was this article helpful?
Written by Julius · Product Manager