Prerequisites
Before deleting a domain, make sure you have:
- Access to HestiaCP control panel
- Admin or user ownership of the domain
⚠️ Warning: Deleting a domain will permanently remove all website files, databases, and email accounts associated with it!
Step 1: Log in to HestiaCP
Access https://YOUR_SERVER_IP:8083 and log in.
Step 2: Navigate to WEB Section
Click on WEB in the top menu.
Step 3: Locate the Domain
Find the domain you want to delete in the list.
Step 4: Open Domain Options
Click on the domain name or the gear icon next to it.
Step 5: Click "Delete"
Scroll down and click the red Delete button.
Step 6: Confirm Deletion
A confirmation dialog will appear:
- Check "I understand that all data will be permanently deleted"
- Click Confirm to proceed
Alternative Method: Delete via SSH
Connect to your VPS:
ssh hxroot@YOUR_SERVER_IP -p 22
Run the command:
/usr/local/hestia/bin/v-delete-web-domain admin example.com
Replace admin with the username and example.com with your domain.
What Gets Deleted
- Website files in
/home/username/web/domain.com/ - All databases associated with this domain
- Email accounts and mail data for this domain
- DNS records for this domain (if managed by HestiaCP)
- SSL certificates
- FTP accounts
✅ Domain has been successfully deleted from HestiaCP.