When your hosting account warns you that it's running out of disk space, the first step isn't deleting things at random: it's finding out exactly what's using the space. Both cPanel and DirectAdmin include a built-in disk usage breakdown that shows you which folders are the biggest, so you can target the real problem instead of guessing.
In cPanel
- Log in to your cPanel account.
- Under the Files section, click Disk Usage.
- You'll see a breakdown of your account by folder, with the largest directories listed first. Common large folders include public_html (your website files), mail (stored email), and any backup folders.
- Click into a large folder to see its subfolders and drill down further until you find the specific files or subfolders responsible for most of the usage.
- Once you've identified the culprit, open File Manager, navigate to that location, and review the files before deleting anything. You can sort the file list by clicking the Size column header to bring the largest files to the top.
In DirectAdmin
- Log in to your DirectAdmin account.
- Look for a Disk Usage or Disk Space Usage link, usually found under the account or statistics section of the menu.
- This shows a breakdown of space used by your domains, email, databases, and backups, so you can see at a glance which area is the biggest.
- Open File Manager to browse into the heaviest folder. Check file sizes in the listing to spot unusually large individual files.
Email storage is often counted separately from your website files. If your mailboxes are the issue rather than your website, check each account's usage and consider archiving or deleting old messages instead of hunting through your website files.
Common causes of high disk usage
- Old backup archives (.zip or .tar.gz files) left in your home directory after a manual backup.
- Large media libraries, especially high-resolution images and videos uploaded directly to your website without resizing.
- Log files that grow over time, such as error logs or raw access logs, if your plan retains them long-term.
- Cache folders created by website software or plugins that aren't cleared automatically.
- Leftover files from an old website version, plugin, or theme that's no longer in use.
Before deleting anything you're unsure about, download a copy to your computer first. Once a file is removed from your hosting account, it's usually gone for good unless you have a backup.
If old backup files are the main problem, see How to Delete Old Backups in cPanel and DirectAdmin to Free Up Disk Space for a safe way to clear them out.