Deleting a domain removes its Nginx vhost, PHP-FPM pool, and DNS records. Importantly, files on disk are not deleted — they remain in the document root folder in case you need them.
Deleting a Subdomain
- In Hosting Mode, go to Domains → Subdomains
- Find the subdomain you want to delete
- Click Delete and confirm
The Agent:
- Removes the Nginx vhost config for
subdomain.example.com - Removes the PHP-FPM pool
- Removes the DNS A record for the subdomain
- Reloads Nginx and PHP-FPM
The files in public_html/subdomain/ remain untouched. If you want to free up disk space, delete them via the file manager after removing the domain.
Deleting the Main Domain (Deleting the Account)
You cannot delete the main domain of an account independently — the main domain is the account. To remove the main domain, you delete the entire account. See Deleting an Account.
If you want to change the main domain (e.g., because a client rebranded), you can update it in Server Mode → Accounts → Edit.
Checking What's Left on Disk
After deleting a subdomain, you can check the leftover files:
ls /home/{username}/{domain.com}/public_html/
The subdomain's folder will still be there. Delete it when you're sure you don't need the files.