Site hosting
Every site, whatever its type, has a Hosting group in its per-site shell
(/sites/:serverId/:domain/hosting/*). For a static, PHP/Laravel, Node.js, Python or
Go site it is the whole rail: opening such a site lands on Hosting · Status. For
WordPress the group is shown to site-scoped members (clients); owners manage WordPress
hosting from the server’s Sites list instead, and the WordPress shell
stays about content. Available on all plans.
| Page | Route | What it does | Client permission |
|---|---|---|---|
| Status | hosting | Status, type, PHP, SSL expiry, disk and DB size, the server name and IP | — |
| Logs | hosting/logs | Access, error, PHP-error and (runtime apps) process logs | — |
| Files | File Manager | Browse, upload and edit the site’s home directory | files |
| SFTP | hosting/sftp | A jailed, key-only SFTP/SSH account for this site, plus extra per-person accounts | sftp |
| Database | hosting/database | phpMyAdmin on this site’s database only | database |
| Backups | a drawer (?backups=1) | This site’s snapshots, and restore | backups (list), restore |
Pages a client was not given are listed as plain text on Status, not as greyed-out buttons. Owners and server-level members see every page.
Status
Section titled “Status”One site.info read: whether the site is up, its type and PHP version, certificate
expiry, disk and database size, plus the server’s name and IP (needed for DNS and SFTP).
Pick a source — Access, Errors, PHP errors (PHP and WordPress sites) or
App process (Node.js / Python / Go) — and Refresh to read again. Each read is a
one-shot snapshot; the text filter runs in the browser. Web logs come from the
logs.tail job with the target site:<domain>[:<log>] (the API checks that the caller
holds that site); app logs come from site.logs {domain, lines?: 1–2000} (the process
journal). A Laravel app writes its own log to storage/logs/laravel.log: open it in
Files. Its scheduler and queue state is the site.laravel-status job (see
Laravel).
One account per site, SSH keys only (no password). Paste a public key to switch it on, remove keys, or turn the account off. The account is jailed with bubblewrap so it sees only this site’s files; on a box where that jail cannot run, the API refuses to create it.
More SFTP accounts (one per person)
Section titled “More SFTP accounts (one per person)”Under the main account, More SFTP accounts gives each person their own login to the
same site: enter a name (1–16 lowercase letters or digits) and that person’s public
key, then Add account. The login is <main username>_<name> (for example
sftp_3fa2c1d9e0_alice), jailed to this site exactly like the main account, with the
whole site’s files. Remove one account to cut off one person without touching the
others. Up to 20 extra accounts per site; logins are SSH keys only (no passwords). The
same sftp permission covers the main account and the extra ones. Removing an account
deletes its home folder and keys, never the site files.
Database
Section titled “Database”Shows the database name and size and opens phpMyAdmin signed in with the site’s own database user, so the session reaches this database and no other. Export and import happen inside phpMyAdmin.
Backups
Section titled “Backups”Lists only this site’s snapshots. Restore offers three scopes — Files and database, Files only (keep the current database) or Database only (keep the current files) — and always lands on this site. Backups are scheduled by the server owner in Backups; this page only reads and restores.
CLI & automation
Section titled “CLI & automation”mz site info example.com --json # what Status showsmz site logs app.example.com -n 200 --json # runtime app process journalmz logs nginx-error --lines 200 --json # box-level log tailAutomate it (MCP / REST)
Section titled “Automate it (MCP / REST)”The Hosting routes themselves (/v1/servers/:id/sites/:domain/hosting/*) are
session-only — they exist for the dashboard’s client view. Tokens use the general
operations:
| Goal | MCP tool | REST / job |
|---|---|---|
| Site status | site_get | job site.info |
| Web logs | logs_tail (target: "site:<domain>" or "site:<domain>:<log>") | job logs.tail |
| Runtime app logs | jobs_create | site.logs {domain, lines?} |
| Files | files_list, files_read, files_write (files:write) | /v1/servers/{id}/fs/* with scope=site&domain= |
| Snapshots | backup_snapshots_list | GET /v1/backups/snapshots |
| Restore | backup_snapshots_restore (full + backups:restore) | POST /v1/backups/snapshots/{id}/restore |
Not available to tokens: phpMyAdmin login links (hosting/pma, db.pma) and the SFTP
account routes (main and extra accounts). With a token, the same box users can be managed
with the user.add (site, jail: true), user.key-add and user.delete jobs.
Gotchas & troubleshooting
Section titled “Gotchas & troubleshooting”- No Hosting rail for owners on WordPress. That is by design; use the server’s Sites list and the site’s Manage drawer.
- Logs are snapshots. There is no live follow here; press Refresh.
- SFTP needs the jail. If the box cannot run bubblewrap, the SFTP page shows the refusal from the API — use the server’s Users & SFTP as the owner.
- Restore overwrites. A restore replaces live files and/or the database of this site.
Related
Section titled “Related”- Site tools — the per-type Manage drawer (deploy, runtime, security, health).
- Sites — create and list sites on a server.
- Team & sharing — share a site with a client and pick their permissions.