Recovering a Website After a Shared Hosting Account Suspension
Summary
This guide helps you troubleshoot and resolve: Recovering a Website After a Shared Hosting Account Suspension. Follow the steps below to fix the issue.
Common Causes
Shared hosting accounts are suspended when automated security systems detect activity that puts the server, other customers, or website visitors at risk. Common triggers include malware infections, compromised email accounts sending spam, or content that breaches acceptable use policies. When your hosting account is suspended, your website is taken offline to prevent further damage. This guide explains how to identify the cause, clean your website, and request reinstatement.
Quick Fix Steps
- Review the suspension notice from your hosting provider to identify the specific cause of the suspension.
- Download a full backup of your website files and databases via your hosting control panel before making any changes.
- Scan your local computer for malware using updated security software.
- Change all hosting, FTP, SFTP, CMS, database, and email account passwords.
- Remove infected files, malicious scripts, and unauthorised user accounts from your website.
- Update your CMS, themes, and plugins to the latest versions.
- Verify the cleanup was successful before contacting your hosting provider to request reinstatement.
Detailed Instructions
Step 1: Review the Suspension Notice
Check the suspension notice sent by your hosting provider via email or the client portal. The notice usually explains the reason for the suspension, such as malware detection, spam activity, or a policy violation. Take note of any specific file paths, domains, or IP addresses mentioned, as these will help you target the cleanup process.
Step 2: Back Up Your Website
Before deleting or modifying any files, create a complete backup of your website. Do not skip this step, as removing the wrong files can break your website permanently.
cPanel users:
- Log in to cPanel.
- Navigate to the Files section and click Backup or Backup Wizard.
- Select Full Backup.
- Choose Home Directory as the backup destination.
- Enter your email address to receive a notification when the backup is ready.
- Click Generate Backup, then download the generated file to your local computer.
Plesk users:
- Log in to Plesk.
- Go to Websites & Domains.
- Click Backup Manager.
- Click Back Up.
- Select Full as the backup type.
- Choose to store the backup in the repository or download it to your local computer.
- Click OK to start the backup process.
Step 3: Secure Your Local Computer
Many website infections start from compromised local computers. Run a full system scan using reputable antivirus or anti-malware software. Remove any threats found, then restart your computer. This reduces the risk of attackers re-infecting your website using stolen credentials saved on your device.
Step 4: Change All Passwords
Change passwords for the following accounts:
- Hosting control panel (cPanel or Plesk)
- FTP or SFTP accounts
- CMS administrator accounts (such as WordPress)
- Database users
- Email accounts associated with the domain
Use strong, unique passwords for each account. Avoid reusing passwords across different services.
Step 5: Remove Malware and Unauthorised Content
Access your website files via FTP or your hosting control panel file manager.
cPanel File Manager:
- Log in to cPanel.
- Under the Files section, click File Manager.
- Navigate to the public_html directory.
- Enable the display of hidden files by clicking Settings in the top right corner and checking Show Hidden Files (dotfiles), then click Save.
Look for:
- Recently modified files you do not recognise
- Suspicious PHP, JavaScript, or HTML files in upload directories
- Encoded or obfuscated code in theme or plugin files
- Unauthorised administrator user accounts in your CMS
- Hidden files such as
.htaccessthat have been modified to redirect visitors
Delete or replace infected files with clean versions from a trusted backup or official CMS repository. If you use WordPress, reinstall core files, themes, and plugins from the official WordPress repository only.
WordPress Specific Cleanup
- Log in to your WordPress admin dashboard.
- Go to Users > All Users and delete any administrator accounts you do not recognise.
- Go to Dashboard > Updates and update WordPress core, themes, and plugins.
- Remove any inactive themes and plugins via Appearance > Themes and Plugins > Installed Plugins.
Step 6: Verify the Cleanup
Before requesting reinstatement, confirm that your website is clean:
- Scan your website files using a reputable online malware scanner.
- Check that your homepage and internal pages load without unexpected redirects.
- Verify that no unknown administrator accounts exist in your CMS.
- Confirm that all software is updated to the latest version.
Requesting reinstatement before verifying the cleanup may result in your request being denied.
Step 7: Request Reinstatement
Once you have cleaned your website and secured your accounts, contact your hosting provider and request that your hosting account be reinstated. Include details of the steps you took to resolve the issue, such as malware removal, password changes, and software updates. The support team will review your request and reactivate your account once they are satisfied the threat has been removed.
Australian Domain Considerations
If your website uses a .au domain name, it is regulated by auDA (.au Domain Administration). Suspensions related to acceptable use policy breaches may be reported to auDA or your domain registrar. Ensure your domain contact details are current with your registrar, as auDA policies require accurate registrant information for all .au domains. If your domain is suspended at the registry level rather than the hosting level, you may need to contact your domain registrar directly to resolve the issue.
Troubleshooting
Website Still Shows a Warning After Reinstatement
Search engines and web browsers may continue to display security warnings even after your account is reactivated. These warnings are often cached or maintained by third-party services such as Google Safe Browsing.
- For Google search warnings, use Google Search Console to request a malware review.
- For browser warnings, check if your site is listed on Google Safe Browsing and submit a review request.
- For email delivery issues, contact your email provider or use their postmaster tools to request delisting from spam filters.
Email Service and DNS Impacts
A hosting suspension may affect email services associated with your domain. Check whether you can send and receive emails. If email is hosted on the same suspended account, it may remain inactive until the hosting suspension is lifted. DNS records generally remain active, but if your domain is suspended at the registrar level, website and email services may both be unreachable. Contact your hosting provider to clarify which services are affected.
Cannot Access Hosting Control Panel
If your account is suspended, you may have limited access to the hosting control panel. Contact your hosting provider's support team to request reinstatement and regain access to your control panel.
Infection Returns After Cleanup
If malware reappears shortly after cleaning, it usually means the original entry point was not closed. Common causes include:
- Outdated plugins or themes with known vulnerabilities
- Weak or reused passwords that attackers still have access to
- Infected local computers used to manage the website
- Backups that were already infected before restoration
Repeat the cleanup steps, ensuring all software is updated and all passwords are changed. Consider using a website security service to monitor for future threats.
If Reinstatement Is Denied
If your hosting provider denies reinstatement, ask for a detailed explanation of why the request was rejected. Common reasons include incomplete cleanup, remaining malicious files, or repeated policy violations. Address each issue identified by the provider, perform another full scan of your website, and submit a new reinstatement request with evidence of the additional steps taken. If the provider continues to deny reinstatement, you may need to migrate your website to a different hosting provider.
If you're still having trouble, you can Open a Ticket for assistance.
Still Having Issues?
💻 Open a Ticket