Knowledgebase

How to reboot your server, use the VNC console, rescue mode or reinstall the OS

Sometimes a VPS or dedicated server stops responding, you lose SSH access after a firewall mistake, or you want to start again with a clean system. This guide explains the tools you can use: a normal reboot, the VNC/console for access without SSH, rescue mode to repair a server that does not boot, and OS reinstall to start from scratch.

Note: the exact buttons depend on your server type and plan. If you do not see a control on your service page in the client area, open a ticket and our team will do it for you or give you access. See How to contact support and open a ticket.

1. Reboot the server

From SSH (the clean way, because services stop properly):

sudo reboot
# or schedule it, with a warning to logged-in users:
sudo shutdown -r +5 "Server will restart in 5 minutes"

From the client area: open your service page and use the power controls if they are available for your plan. A forced reset or power-off is like pulling the plug, so use it only when the server does not respond to SSH.

After the server comes back, check that everything started:

uptime
systemctl --failed
journalctl -b -p err

2. Use the VNC / web console

The console shows the server screen as if a monitor were connected. It works even when SSH or the network is broken, for example when:

  • you blocked your own IP in the firewall or Fail2ban;
  • you changed the SSH port or SSH settings and cannot log in;
  • the server is stuck at boot and you want to see the error message.

Log in with the root user and password (SSH keys do not work in the console). If the keyboard layout looks wrong, type slowly and avoid special characters in the password.

3. Boot into rescue mode

Rescue mode starts the server from a small temporary system so you can reach your disk when the main system does not boot. Use it to fix a broken /etc/fstab, reset the root password, or copy important files.

lsblk -f                         # find your main disk/partition
mkdir -p /mnt/sys
mount /dev/vda1 /mnt/sys          # example name; use the one lsblk shows
cat /mnt/sys/etc/fstab            # check or fix the file
umount /mnt/sys

When you finish, leave rescue mode (or ask support) and reboot normally.

4. Reinstall the operating system

Warning: reinstalling the OS erases all data on the server: websites, databases, emails and settings. Take a full backup and download it off the server first. A reinstall cannot be undone.
  1. Back up your data and store the backup outside the server.
  2. Choose the operating system (for example AlmaLinux) from the reinstall option in your service page, or request it in a ticket.
  3. Wait for the reinstall to finish and use the new root password you receive.
  4. Follow First steps after you receive your VPS and How to secure your Linux server again.

Common problems

  • The server does not come back after a reboot: open the console and read the boot messages. A wrong line in /etc/fstab is a common cause; fix it from rescue mode.
  • SSH says "host key changed" after a reinstall: this is normal, because the server has new keys. Remove the old key on your computer with ssh-keygen -R SERVER_IP.
  • The console shows a black screen: press Enter or move the mouse to wake it.

Frequently asked questions

Will rebooting delete my data?

No. A reboot only restarts the system. Only a reinstall erases data.

Can I reinstall a cPanel server myself?

A reinstall removes cPanel too. If your server has a cPanel license, contact support before you reinstall so the license and setup can be arranged.

Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.

  • reboot, reinstall, rescue mode, VNC, console, VPS, dedicated server

Was this answer helpful?

0 Users Found This Useful