Site Doctor
Site Doctor
Site Doctor diagnoses a website in one click and tells you what to do about each finding: DNS, HTTP and HTTPS, the certificate, PHP-FPM, the error log, file permissions and WordPress settings. A diagnosis only reads; nothing is changed.
Requirements
- Panel 1.4.29 or later.
- Free app, available on every plan.
- Website owners diagnose their own sites; administrators can diagnose any site. A website without a system account can be diagnosed by administrators only.
Open it
- Install Site Doctor from the Vinza Store.
- Open Site Doctor from the sidebar (
/apps/site-doctor/), or open a website and click the Site Doctor card (Diagnose problems) under Extensions on its Overview tab. The second way opens the page with that site already selected.
Diagnose a website
- Choose the site under Website, or click one of the Recent diagnoses.
- Click Diagnose. The checks run at the same time, each with its own time limit.
- Read the summary: Problems, Warnings and Fine checks. Click a count to show only those.
- Open a finding for its Details and What to do.
- After fixing something, click Check again on that check to re-run just that one.
The last result of a site is shown without running again. The header tells you what is new and what was fixed since the diagnosis before.
What is checked
| Area | What is checked |
|---|---|
| Reachability | The domain's DNS points to the server, the website is switched on, the document root and its index file exist |
| HTTP and HTTPS | Status and response time, requested through the server itself, plus PHP or application errors shown on the home page |
| Certificate | Missing, not covering the domain, expired, self-signed, or expiring within 14 days |
| PHP | The site's PHP-FPM pool answers |
| Error log | PHP fatal and parse errors, memory exhausted, timeouts, PHP-FPM unreachable, permission errors and missing scripts, with the last matching lines |
| Files | Files anyone on the server can change |
| WordPress | Debug output shown to visitors, a large debug.log, PHP allowed in wp-content/uploads |
Because the HTTP and HTTPS checks go through the server itself, you can diagnose a migrated site before its domain points to the new server. Only the DNS check will report that the domain points elsewhere.
Acting on common findings
- DNS does not point to the server: update the domain's A/AAAA records at your DNS provider, or see Domains & DNS.
- Certificate missing, expired or not covering the domain: issue or renew it, see SSL & HTTPS with Let's Encrypt.
- PHP-FPM pool does not answer: restart PHP-FPM, see PHP-FPM Configuration. PHP Guardian can do this automatically.
- Memory exhausted or timeouts in the error log: raise the PHP limits for the site, or fix the script named in the log lines.
- Files anyone can change: tighten their permissions in the File Manager.
- PHP allowed in wp-content/uploads: use Block PHP in folders on the website, described in PHP Guardian.
Some findings list Commands to look closer (for example dig or openssl) that you can copy and run yourself.
Export
Use Export to Copy as text, Download Markdown or Download JSON, which is handy for a support ticket.
Limits and notes
- A site is diagnosed at most every 20 seconds, and a single check every 5 seconds; meanwhile the recent result is shown.
- A check that runs out of time says so; the others still finish. A large site's file scan stops at a cap.
- If the server or its agent does not answer, the panel checks (DNS, website switched on) are still shown with a notice that the server checks could not run.
- File checks run as the site's owner, so they read nothing the account itself cannot.
- Sites on other nodes (Vinza Server) are diagnosed on their node.