FastPanel: site security

In the examples 203.0.113.10 is your server address and my-site.com is your domain. The panel address, login and password are in the VPS activation e-mail.

Site scanning

  1. Site card → "Scanning" → "Run".
  2. Mode: express (php, js, html, .htaccess), normal (all files) or paranoid.
  3. Schedule and e-mail report — in the scanning settings.

The scanner only finds infected files. Removing and cleaning is a separate step.

Firewall
Firewall

Password on a site

Site card → "Settings" → "HTTP authorization". Useful for a site under development.

Brute-force protection

A firewall and fail2ban already run on the server: an address with many wrong passwords is blocked for a while.

Site scanning
Site scanning

If the site is hacked

  1. Close the site with HTTP authorization.
  2. Check the site scheduler tasks.
  3. Restore the site from a clean backup (backups).
  4. Update the CMS, plugins and themes. Change all passwords.
HTTP authorization
HTTP authorization