What should I do if my website is hacked? Print

  • 0

Act quickly and keep the evidence:

  1. Take the site offline or password-protect it so it stops serving malicious content - cPanel → Directory Privacy is the fast way.
  2. Change every password: cPanel, database users, admin accounts, FTP and mailboxes.
  3. Scan the account. Many hosts' tools and the Wordfence/Sucuri scanners will list infected files; look in public_html for unfamiliar PHP files with random names.
  4. Restore a clean backup from before the compromise, then update everything before putting the site back.
  5. Open a ticket marked urgent - we can isolate the account, review logs and help you clean up.

Was this answer helpful?

« Back