Resetting site content returns a managed hosting account to a clean default state. This process is useful when test applications are no longer needed, configuration changes have broken the website, or you want to start fresh without recreating the account.
This procedure removes website files, bases de données, domaines, and scheduled tasks. Email accounts and existing email messages are not affected.
Important notes before you begin
- All website content will be permanently deleted.
- Databases cannot be recovered unless you have backups.
- Email accounts and mailboxes remain intact.
These steps apply to managed environments running on cPanel hosting services.
Removing applications installed with Softaculous
Applications installed through Softaculous must be removed first.
- Connectez-vous à cPanel.
- Ouvrez le Outils page.
- Dans le Softaculous Apps Installer section, faire un clic Softaculous Apps Installer.
- Locate each installed application.
- Uninstall all applications.
[Screenshot placeholder: Softaculous application list]
Deleting all databases
All MySQL and PostgreSQL databases must be removed.
- Connectez-vous à cPanel.
- Ouvrez le Bases de données section.
- Faire un clic Manage My Databases for MySQL databases.
- Faire un clic PostgreSQL Databases for PostgreSQL databases.
- Delete all existing databases and users.
[Screenshot placeholder: Database management screen]
Removing additional domains
Sous-domaines, addon domains, and parked domains must be deleted so the account only contains the primary domain.
- Connectez-vous à cPanel.
- Ouvrez le Domaines section.
- Remove all Sous-domaines.
- Remove all Domaines supplémentaires.
- Remove all Aliases.
[Screenshot placeholder: Domains management section]
Deleting website files
All website files are stored inside the public_html directory.
- Connectez-vous à cPanel.
- Ouvrez le Outils page.
- Dans le Fichiers section, faire un clic File Manager.
- When prompted, sélectionner Web Root et cliquez Aller.
- Ouvrez le
public_htmldirectory. - Faire un clic Select All.
- Faire un clic Delete and confirm.
[Screenshot placeholder: File Manager with public_html selected]
This step removes all website content while leaving system directories untouched.
Removing cron jobs
Scheduled tasks can continue running even after files are removed. These must be deleted manually.
- Connectez-vous à cPanel.
- Ouvrez le Outils page.
- Dans le Avancé section, faire un clic Cron Jobs.
- Remove all configured cron jobs.
[Screenshot placeholder: Cron Jobs configuration screen]
After the reset
Once all steps are completed, the account is returned to a default state with no active website content. You can now deploy a new site, reinstall applications, or build a fresh project using tools such as a website builder. For larger environments or advanced recovery scenarios, infrastructure based on serveurs cloud may provide greater flexibility.