A rebuild reinstalls a server from scratch with the image you choose. Use it to start over on a clean system, to switch distributions, or to move from Linux to Windows without changing IP addresses. It costs nothing extra: the plan, the price and the billing cycle stay the same.
What a rebuild changes
| Erased or replaced | Kept |
|---|---|
| Everything on the disk | IPv4 and IPv6 addresses |
| The operating system or app | Plan, price, billing cycle and term |
| The root password: a new one is generated | Name, label and tags |
| The user name, if the new image uses another one | Firewall, snapshots and reverse DNS |
The fresh image gets the same SSH keys and startup script you picked at deploy, as long as they are still on your account, and the attached firewall is applied again. Sign in with your key, or with the new password from the Access tab. The startup script runs once more at the first boot of the new system (Automate setup with startup scripts).
Rebuild the server
- Save what you need. Take a snapshot (Take a snapshot) or copy your data off the server (Back up your data off the server).
- Open the server and its Rebuild tab.
- In Operating system or app, choose the new image. The list holds only images that fit the server's memory. Legacy systems are marked "(legacy)", and one-click apps come last.
- Type the server's name in the confirmation field, exactly as shown.
- Click Rebuild server.
The message "Rebuild started. The server will come back with a fresh image." appears and the badge reads Rebuilding. When the rebuild is done, a notification says so and the badge returns to Running.
- On the Access tab, click Reveal server password to get the new password (Find or reset the root password).
- On your computer, forget the server's old host key before you connect, or SSH will warn that the host identification has changed:
ssh-keygen -R 203.0.113.24
Messages you may see
- "Type the server name to confirm the rebuild." The name you typed does not match. Copy it from the page title.
- "Restart is already being applied. Try again once it completes." Wait for the current action to finish.
- The Rebuild server button is greyed out while the server is deploying, resizing, suspended or being deleted. A suspended server must come back first: its banner says how (What each server status means).
The image you want is missing from the list? It probably needs more memory than the plan has. Resize the server first, then rebuild.
Tips
- Moving to Windows. Windows Server images run on a 180-day evaluation license or your own key; Windows desktop and legacy versions need your own key. Connect with Remote Desktop as
Administrator(Connect to a Windows server with Remote Desktop). - Moving to a one-click app. Apps install on Ubuntu 24.04 LTS, with root access to the whole server (Deploy a one-click app).
- A system that is not in the list. See Install from your own ISO.
- Through the API. Send
{"type":"rebuild","image":"debian-13"}toPOST /api/v1/servers/srv_7kq2m9xw/actionswith a read and write token. App images use ids such asapp:wordpress(API reference).