How to reinstall the operating system on your VPS
Reinstall your VPS operating system from CustomerPanel. Choose a new OS, start fresh, or recover from a misconfigured server.
Reinstalling the OS wipes your VPS disk and installs a fresh copy of the chosen operating system. It is the fastest way to recover from a misconfigured or compromised server, or to switch to a different Linux distribution.
When to reinstall
- The server is badly misconfigured and you cannot fix it
- The server has been compromised and you want a clean slate
- You want to switch from one Linux distribution to another (e.g., Ubuntu to AlmaLinux)
- Starting a new project with different software requirements
Back up first
A reinstall erases the entire disk-all files, databases, software, and configuration. There is no undo. If you have any data worth keeping, download it before proceeding.
Before reinstalling:
- Download a copy of all important files via SCP or SFTP
- Export all databases with
mysqldump - Note your current software configuration and installed packages
Reinstall from CustomerPanel
- Log in to customerpanel.ca
- Go to Services → My Services → your VPS
- Click Reinstall (or Reinstall OS)
- Select the operating system and version you want
- Confirm by typing the required phrase or checking the acknowledgment box
- Click Reinstall
The reinstall process takes 3–10 minutes. Once complete, you will receive an email with the new root password. The server IP remains the same.
After reinstall
- SSH in with the new root credentials from the email
- Update all packages immediately
- Configure the firewall
- Create a non-root user
- Install your web stack and software
- Restore your data from backups
See the getting-started guides for your chosen OS: Ubuntu | AlmaLinux
Related: How to choose the right operating system for your VPS | Linux and Windows operating systems for VPS-which to choose | Manage VPS | VPS snapshots
Need a server with this OS?
Deploy Linux or Windows workloads on an UnderHost Cloud VPS or dedicated server with the operating system that fits your stack.





















