Why hosts suspend sites
Hosts suspend an account to protect other customers on the same servers and their own reputation. The usual triggers are:
- Their malware scanner found infected files on the account.
- The account was sending spam or phishing emails.
- Someone reported a phishing page or malware download on your site.
- A script was using so much CPU or memory that it slowed the server down.
The email usually says which one. That tells you what to look for.
First: don’t make it worse
- Don’t cancel the account or delete the site. You will need the files and database, and the evidence of how the attacker got in.
- Don’t just restore the newest backup and ask to be switched back on. The backup may contain the same malware, and the hole is still open.
- Download a full backup (files and database) as soon as you have any access, even if it is infected. Keep it offline, clearly labelled.
What to ask your host
Reply to the suspension email or open a support ticket and ask:
- The list of infected files their scanner found, and the type of problem (malware, spam, phishing).
- Temporary access for cleanup. Many hosts can give you file access, or unblock the site for your IP address only, while visitors still see the suspension page.
- Their backups, and the dates they cover.
- What they need from you to switch the account back on, and whether they will rescan first.
If your hosting control panel has a malware scanner (many cPanel hosts include one), its results page often shows the same file list.
Clean the whole account
The host’s list is a starting point, not the full picture. Scanners on the server usually flag the noisiest files and miss backdoors hidden in the database or disguised as images.
- Every site on the account. Include old copies, staging sites and test installs in other folders. They are often the way in.
- Remove the listed files, after checking each one isn’t a normal file that was edited. Infected core and plugin files should be replaced with fresh copies, not deleted.
- Scan each WordPress site fully. Once you can reach the dashboard, the free Moatline Malware Scanner checks files, the uploads folder, the database and your live pages, and compares plugins with their official copies. If you can’t reach the dashboard yet, use the file list and the steps in our malware removal guide.
- Look for mailer scripts if the suspension mentions spam: unknown PHP files in the site root, the uploads folder and theme folders.
- Change every password: hosting control panel, FTP/SFTP, database, every WordPress admin and email accounts on the domain. Then generate new WordPress security keys.
- Update everything and delete plugins and themes you don’t use.
Getting switched back on
Reply to your host with a short list of what you did. For example:
Hi, we've cleaned the account:
- Removed the 14 infected files from your list, plus 3 more we found
(2 in wp-content/uploads, 1 fake plugin).
- Replaced WordPress core and all plugins with fresh copies.
- Deleted an unknown admin user and changed all passwords
(cPanel, FTP, database, WordPress admins).
- Updated all plugins; the entry point was an outdated form plugin.
Please rescan and reactivate the account. Thanks!
A clear, specific reply like this usually gets a faster reactivation than “it’s fixed now”.
After you’re back online
- Scan again the next day and a few days later.
- Block PHP in uploads and turn on two-step login for admins. Both are in Moatline’s free Hardening and Lockdown tabs.
- Check blacklists. If spam was sent, check your domain and server IP with a blacklist checker, and look in Google Search Console for security warnings.
Frequently asked questions
Will I lose my website?
Can I just restore an old backup?
I have several sites on one hosting account. Do I need to clean them all?
Why was my site sending spam emails?
Scan your site for free
Moatline checks files, the database and page-builder content. Nothing changes unless you click a button.
More guides
- “This site may be hacked” in Google: how to get the warning removed
- WordPress site redirecting to spam? How to find and fix it
- Unknown admin user in WordPress? How to check it, remove it and lock the door
- Japanese or pharma spam in Google results? How to fix the WordPress hack
- A website asked you to press Windows + R to “verify you are human”? Here’s what to do
- WordPress fake CAPTCHA malware (ClickFix): how to find and remove it