To delete a hosting package in WHM, select the package from the dropdown menu and click the Delete button. However, you can only delete packages that are not currently assigned to any active accounts on your server, and deleted packages cannot be recovered.
Understanding Package Deletion in WHM
WHM (Web Host Manager) allows server administrators to create and manage hosting packages, which define resource limits and features for client accounts. When a package is no longer needed, you may want to remove it to keep your server organized and maintain a clean package list.
Before proceeding with deletion, it's important to understand the limitations and consequences. Package deletion is permanent and irreversible. Once you delete a package, all its configuration settings are lost and you'll need to recreate it from scratch if you need it again.
Prerequisites Before Deleting a Package
You cannot delete a package that is currently in use by any account on your server. WHM prevents this deletion to protect existing client accounts from losing their resource allocations and configurations.
Before attempting to delete a package, verify that no accounts are assigned to it. If accounts are using the package you want to remove, you'll need to either migrate those accounts to a different package or terminate the accounts first.
Step-by-Step Guide to Delete a Package
Follow these steps to remove an unused hosting package from your WHM server:
- Log in to your WHM control panel as the root user or a reseller with appropriate permissions
- Navigate to the Packages section (you can use the search function to find it quickly)
- Locate the Delete a Package option and click it
- Select the package you wish to delete from the Package dropdown menu
- Click the Delete button to permanently remove the package
- Confirm the deletion when prompted
The system will immediately remove the package from your server. There is no undo function, so make sure you've selected the correct package before confirming.
What Happens After Package Deletion
Once you delete a package, it is completely removed from your WHM system. The package name becomes available again, so you can create a new package with the same name if needed. However, the new package will not inherit any settings from the deleted one.
If you're planning to create a similar package in the future, consider documenting the package settings before deletion or simply editing the existing package instead of deleting and recreating it.
Alternatives to Deleting a Package
Instead of deleting a package, you might consider these alternatives:
- Edit the package: Modify existing package settings to meet new requirements rather than starting from scratch
- Disable new signups: Keep the package for existing accounts but prevent new accounts from using it
- Rename the package: Change the package name to indicate it's deprecated or for legacy accounts only
These approaches allow you to maintain existing account configurations while preventing future use of outdated packages.
Frequently Asked Questions
Can I recover a deleted hosting package?
No, deleted packages cannot be recovered. Package deletion is permanent and irreversible. If you need the package again, you'll have to recreate it manually with the same settings. For this reason, it's recommended to document package configurations before deletion or consider editing instead of deleting.
Why can't I delete a package that shows 0 accounts?
If the package appears to have zero accounts but still cannot be deleted, there may be suspended or terminated accounts still technically assigned to it. Check your account list thoroughly, including suspended accounts, and reassign or remove them before attempting deletion again.
What's the difference between deleting and editing a package?
Editing a package modifies its settings for future accounts while preserving existing account configurations. Deleting a package removes it entirely from your server but only works if no accounts are using it. Edit when you want to update package features; delete only when the package is completely obsolete and unused.
Do I need to delete old packages to create new ones?
No, you don't need to delete old packages to create new ones. WHM allows you to maintain multiple packages simultaneously. Only delete packages that are truly no longer needed and have no accounts assigned to them. Keeping historical packages can be useful for reference and for maintaining existing client accounts.
If you need assistance managing hosting packages or have questions about your server configuration, the OBHost support team is available 24/7. Visit our contact page or email support@obhost.org for help.