To remove a virus using cPanel, you'll need to use the built-in virus scanner. Here's how:
Steps to Delete a Virus in cPanel
Follow these steps to scan and potentially remove viruses from your cPanel account. It's important to backup your files before proceeding.
- Login to cPanel: First, access your cPanel account using your login credentials.
- Backup your Files: Before scanning or deleting anything, create a backup of your website. This is crucial to ensure you can restore your site if something goes wrong during the virus removal process.
- Locate the Virus Scanner: In your cPanel dashboard, find and click on the "Virus Scanner" icon.
- Choose Scan Area: You’ll be presented with options to select which parts of your account to scan. You can choose from:
- Email Only: Scans only your email accounts.
- All: Scans the entire cPanel account.
- public_html Only: Scans just your website files.
- public_ftp Only: Scans only files accessible via FTP.
- Initiate the Scan: Once you've made your selection, click the "Scan Now" button to start the virus scan.
- Wait for Completion: The scanner will process and analyze your files for viruses. Wait until the scan reaches 100%. The time it takes will depend on how much data is being scanned.
Important Notes:
- The Virus Scanner will attempt to quarantine or delete any viruses detected.
- Always backup before running scans, since the scanner's actions may impact your site.
- The scanning process can sometimes be resource-intensive, especially if "All" is selected. It may slow down your site temporarily during the scan.