Hostxpeed
Login Get Started →
Control Panel

How to Uninstall HestiaCP

5 min read
32 views
Jun 13, 2026

Prerequisites

Before uninstalling HestiaCP, make sure you have:

  • SSH access to your VPS
  • Backup of all important data

⚠️ Uninstalling HestiaCP will remove all websites, databases, email accounts, DNS zones, and user data!

Step 1: Backup Everything

Before uninstalling, create final backup:

ssh hxroot@YOUR_SERVER_IP -p 22
/usr/local/hestia/bin/v-backup-users

Copy backups to safe location:

scp -r /backup/*.tar user@backup-server:/backup/hestia-final/

Step 2: Stop Hestia Services

systemctl stop hestia
systemctl stop hestia-nginx
systemctl stop hestia-php

Step 3: Run Uninstall Script

Download uninstall script:

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh

Run uninstall:

bash hst-install.sh --remove

Or to remove everything including data:

bash hst-install.sh --remove --all

Step 4: Manual Cleanup (If Needed)

Remove remaining directories:

rm -rf /usr/local/hestia
rm -rf /etc/hestia
rm -rf /var/log/hestia
rm -rf /backup/*

Remove user data (if not already removed):

rm -rf /home/*/web
rm -rf /home/*/tmp
rm -rf /home/*/logs

Step 5: Remove Packages (Optional)

Remove web server packages if no longer needed:

apt remove nginx apache2 php mysql-server -y
apt autoremove -y

Step 6: Reboot Server

reboot

Alternative: Server Reinstall (Cleanest Method)

The cleanest way to remove HestiaCP is to reinstall the OS through your Hostxpeed client portal:

  1. Log in to Hostxpeed Client Area
  2. Go to My Services → Your VPS
  3. Request OS Reinstall
  4. Select fresh OS (Ubuntu/Debian/CentOS)
  5. Confirm (all data will be wiped)

✅ HestiaCP has been uninstalled. Server is ready for fresh setup.

Was this article helpful?