Website Security Checklist for Small Business Sites (PHP, WordPress)
Updated 2026-11-29
Long-running company websites often still have files left from setup or ports opened years ago. Go through these items; most can be fixed with a few lines of configuration.
Server and network
- Database ports (MySQL 3306, PostgreSQL 5432) closed to the internet? Open only web (80/443) and keep the database local
- A firewall in front of the server? Unused ports should drop connections silently
- Remote access (SSH, Remote Desktop) limited to office IPs?
Files and paths
- Installer folders (/install/) removed? WordPress or other setup screens must not remain
- No .git, .env, database dumps (.sql) or zip backups in the web folder?
- Admin screens (/wp-admin/ etc.) protected by IP limits or two-factor login?
- Folder addresses don't list their files?
Software versions
- PHP on a supported version (8.2 or later)?
- Apache, Nginx, MariaDB and OpenSSH kept up to date with security fixes?
- Front-end libraries like jQuery and WordPress plugins not outdated?
- Server and PHP versions hidden from response headers?
Encryption and browser protection
- http visitors redirected to https automatically?
- Security headers like HSTS, CSP and X-Frame-Options sent?
- Login cookies marked Secure, HttpOnly and SameSite?
- A web application firewall (WAF) blocking attack attempts?
Check it all at once
Run the Safelight domain check for public items. After verifying domain ownership, the deep check covers open ports, firewalls, sensitive files, installers, admin screens, server setup and outdated versions, and you can download the results as a PDF security report for internal reporting or your maintenance provider.
Check a domain nowFree · 30 seconds · nothing stored