Site tools (Manage drawer)
Every site card on a server’s Sites list (and on the account-level Sites page) has a Manage button. It opens a drawer whose tabs depend on the site type. This is where infrastructure for a single site lives — domains, PHP, TLS, deploys, the WAF, isolation — while content (for WordPress) lives in the per-site shell. Available on all plans unless a row says otherwise.
Tabs by site type
Section titled “Tabs by site type”| Tab | Static | PHP / Laravel | Node.js / Python / Go | WordPress |
|---|---|---|---|---|
| Overview | ✓ | ✓ | ✓ | ✓ |
| Plugins & Themes | ✓ | |||
| Deploy (only with a Git repo) | ✓ | ✓ | ✓ | ✓ |
| Releases (atomic deploys) | ✓ | ✓ | ✓ | |
| Settings | ✓ | ✓ | ✓ | ✓ |
| Runtime | ✓ | |||
| Cache · Optimize | ✓ | |||
| Tools | ✓ | ✓ | ||
| Security | ✓ | ✓ | ✓ | |
| Health | ✓ | ✓ | ||
| Logs | ✓ | |||
| Commands (not live) | ✓ | ✓ | ✓ |
What each tab does
Section titled “What each tab does”-
Overview — the deployment summary: status, domain, type, PHP/runtime, TLS.
-
Settings — Domains (aliases), PHP version (
php.switch {domain, version}), TLS (ssl.issue,ssl.delete,ssl.auto-renew,ssl.https-redirect), for WordPress search visibility, and for PHP/WordPress the .htaccess → nginx converter: preview withsite.htaccess-convert {domain, dryRun: true}, apply withoutdryRun, undo withsite.htaccess-clear. Lines that cannot be converted are listed with the reason. Static sites also show the Cloudflare proxy switch here (see below). -
Releases (static, PHP, runtime) — atomic deploys with rollback: enable with a git repo and build steps (
deploy.init {domain, repo?, branch?, public?, build?}), deploy a release (deploy.run {domain, ref?}— git clone → build → symlink flip), list (deploy.list) and roll back (deploy.rollback {domain, to?}). Pro. -
Runtime (Node.js / Python / Go) — restart the app process (
site.restart), edit the app’s environment file (site.env-get,site.env {domain, env}), the opt-in Micro-cache (site.microcache) and the Cloudflare proxy toggle. -
Logs (runtime apps) — the app’s process journal (
site.logs {domain, lines?}). -
Plugins & Themes / Cache / Optimize / Tools (WordPress) — see Plugins, themes & users and Optimize & cache. WordPress Tools has enable/disable, maintenance mode,
WP_DEBUG, cache and transient flush, database optimize and search-replace (wp.tool {domain, action: status|maintenance-on|maintenance-off|debug-on|debug-off|cache-flush|transient-flush|db-optimize|search-replace}). -
Laravel (PHP sites with framework Laravel, jobs only for now) — the app’s
.env(site.env-get,site.env {domain, env}, also for plain PHP sites), the scheduler and queue workers (site.laravel-status,site.laravel {domain, scheduler?, queue?, queueProcs?}) and allowlisted artisan commands (site.artisan {domain, command}). See Laravel. -
Tools (PHP) — the opt-in Micro-cache (
site.microcache) and the Cloudflare proxy switch: the orange cloud on the apex andwww.records through the workspace’s Cloudflare connection, guarded against “Cloudflare only” (details in Optimize & cache). -
Security — a hub with sub-tabs: Firewall (ModSecurity + OWASP CRS per site:
waf.status,waf.enable,waf.mode off|learning|blocking,waf.disable; offers to install the free ModSecurity extension first), Malware scan (ClamAV over the docroot:security.scan {path}, findings quarantined or deleted withsecurity.file) and, WordPress only, Integrity (core/plugin checksums:security.wp-integrity). -
Health (PHP, WordPress) — four blocks: Advice (Smart Advice, below), Isolation (whether the site runs on its own sandboxed PHP-FPM, toggle with
site.isolate {domain, off?}), Cap hits (how often it hit its resource caps over 24 h / 7 d / 30 d —GET /v1/servers/{id}/sites/{domain}/faults?range=— plus its Database time for the range) and Slow requests (the PHP slow log grouped by plugin, theme and file —site.slowlog). -
Smart Advice (every plan) lists what to fix, each with the numbers behind it, one action and Snooze 7d / Dismiss (for the whole workspace). It only speaks on facts the kernel or the database counted:
Rule Fires when Action memory_cap≥ 1 OOM kill (critical) or ≥ 3 memory-ceiling hits in 7 days; names the top slow plugin when known Change the plan process_cap≥ 1 process-limit hit in 7 days Change the plan slow_plugin≥ 10 PHP requests over 5 s in 7 days and one plugin/theme behind ≥ 80 % of them See slow requests ( site.slowlog)db_timethe database spent ≥ 5 min on the site’s queries in 24 h and that is ≥ 50 % of DB time + the site’s CPU time Open databases Cap rules need a resource plan (a slice); slow-log and DB data need agent 0.2.161+. Database time is MariaDB
userstat(the agent turns it on at runtime;DB_USERSTAT=0in the box’sserver.confopts out) orperformance_schemaon MySQL. It is measured, not limited. -
Commands — a one-shot runner for wp-cli / artisan / composer / npm. Not live: its output is a placeholder, because the agent has no
site.execjob yet. Do not rely on it; use the web terminal or SSH.
Staging (WordPress) is reached from the site’s Clone action: pick a production
target on the same server, preview the diff, then push files and optionally the
database with a reverse search-replace; a pre-push snapshot of production is taken
automatically (site.push, site.pull, site.link; Pro). See
Staging & deploys.
CLI & automation
Section titled “CLI & automation”mz site restart app.example.com --jsonmz site isolate example.com --json # sandboxed PHP-FPM (add --off to undo)mz site slowlog example.com --jsonmz site htaccess convert example.com --dry-run --jsonmz waf enable example.com --mode learningmz deploy run app.example.com --ref main --jsonAutomate it (MCP / REST)
Section titled “Automate it (MCP / REST)”All of these are job kinds: call jobs_schema for the body, then jobs_create (MCP) or
POST /v1/servers/{id}/jobs (REST). Extra points:
- The Cloudflare proxy switch is not a job: read the records with
dns_records_list(GET /v1/dns/records?domain=) and rewrite the apex/www.record withproxiedthroughdns_records_update(PUT /v1/dns/records/{id}, every field is rewritten). Before turning it off, readsite.cf-only {domain}and turn it off first (mode: "off") whenenabledis true. See Optimize & cache. - Cap-hit history has its own tool:
sites_faults. - Smart Advice:
sites_advice(GET /v1/servers/{id}/sites/{domain}/advice),servers_advice_summary(GET /v1/servers/{id}/advice/summary),sites_advice_dismiss(POST …/advice/{rule}/dismiss, body{days?: 1-90}; no days = dismiss) andsites_advice_restore(DELETEon the same path). A rule whoseaction.kindisjobcarries a readyjobs_createbody. Adb_timehit also raises theresource.capevent (kinddb_time, once a day per site). waf.enable/waf.disableneed afull-level token;security.fileneedsfiles:write;deploy.rollbackandsite.push/site.pullneedbackups:restore.deploy.*,site.push,site.pullandsite.linkare Pro (403 tier_required).site.envis never queued for an offline box (409 server_offline), because the queue would hold the values in clear.- For a site shared with a client, the client also needs the owner’s site permission:
hardeningfor isolation and .htaccess,resourcesfor caps,lifecyclefor enable/disable/delete,clonefor clone/push/pull.
Gotchas & troubleshooting
Section titled “Gotchas & troubleshooting”- Not wired yet in the drawer: the Deploy tab’s git settings (branch, auto-deploy, deploy now, rollback), alias add/remove, the WordPress search-visibility toggle, the Tools → Back up action and the PHP Tools “clear cache” button. Use Releases for real atomic deploys and Hosting → Backups or Backups for backups.
- Commands is a mock (see above).
- Isolation needs a recent agent. An older agent answers
site.isolatewith exit127; update the agent.
Related
Section titled “Related”- Sites — create sites and set resource limits.
- Site hosting — status, logs, files, SFTP, database, backups.
- Security — box-level firewall, SSH and Fail2ban.