Websites and PHP

Available

nginx sites with a PHP-FPM pool per account and PHP version. Every configuration change is validated, swapped in atomically, health-checked and rolled back if anything fails.

What it does today

  • Static, PHP and reverse-proxy sites, with addon domains, subdomains, aliases and parked domains. International names are stored as punycode and shown as written.
  • One PHP-FPM master per account and PHP version, running as the account's own Linux user inside its own systemd slice. PHP comes from the distribution or the Ondřej Surý repository (pinned key).
  • Layered configuration: global, server, plan, reseller, account, site. A layer can lock a setting so lower layers cannot change it, and the panel shows which layer set every value.
  • Custom nginx snippets are read by a real tokenizer and checked against an allow-list, with the line number of anything refused. include, load_module, Lua and fastcgi_pass are never accepted from customers.
  • Each change renders a new configuration generation, runs nginx -t and php-fpm -t on the exact files, swaps a symlink, health-checks every changed site and flips back on failure. The last 30 generations stay available for one-click rollback.
  • Create, update, delete and rollback can run as a dry run that returns the per-file diff.
  • Isolation: open_basedir to the home, per-account PHP sockets, disable_symlinks if_not_owner on every server block, root-owned logs, and proxy sites refused for private addresses unless the admin allows it.
  • A web application firewall per site (Coraza with the OWASP Core Rule Set): off, detect or block, exceptions made from a blocked request, and a kill switch. It fails open, and in our measurement adds about 12 ms at the 95th percentile.
  • Advanced WAF (add-on): stricter firewall levels (2 to 4) and rule packs you switch on per site (WordPress, common web apps, scanners, strict protocol rules). A signed rule feed keeps them current, a site under attack tightens itself for up to two hours and then relaxes, and you can allow one request a rule refused by mistake. Every change is previewed first.
  • Rate limits per site: off, log only, gentle (30 requests a second per visitor), standard (10) or strict (3), with burst and connection caps and a 429 for refused visitors. An IPv6 visitor counts by its /64, so a home or server cannot dodge the limit by switching addresses, and a bot-challenge pass survives a change inside that /64.
  • Paths the app limits itself, such as /ws and /api, can be left to the app (Leave these paths to the app). In under-attack mode a site's own files get their own higher limit, and refused requests are listed on the site's protection screen.
  • Security-header presets, a proof-of-work bot challenge and hotlink protection per site.
  • Folder passwords (cPanel's Directory Privacy): a path of a site asks for a name and password, and covers everything below it, with up to 20 paths per site. Let in without a password opens a path for up to 50 listed addresses or networks, such as an office or a VPN. Without a certificate the screen warns that the password would cross the internet in clear.
  • One way to add: type an address in the add sheet and the panel says what it is (one of your domains, a new subdomain or a new domain), where its DNS is and which certificate covers it. Pick what runs there (PHP, static files, a Node or Python app, a container, a GitHub repository, a proxy to a port, or nothing yet), pick the project, and read a short list of what will happen in plain words. One preview, then one job does it all.
  • Domains as a tree: each domain shows its subdomains under it with a count, and every row shows its project and what runs there. A subdomain can belong to a different project than its domain.
  • Register a new domain at Hostinger from the add sheet. The price is shown and you confirm it first. Hostinger is the only registrar for this today. It is built and tested, and has not yet been used for a real purchase.
  • Routing by path, cookie or header on one address, so some visitors can be sent to a new build. HTTP/3, and wildcard site names such as *.example.com.
  • Custom error pages (a page of the site or another address). A route can answer a plain 404, stay out of the access log, keep connections to the app open or leave the app's own redirects alone.
  • Choose who may show your site inside their pages (for example a meeting room inside your app), with camera, microphone and screen sharing still allowed there.
  • Google and Bing, recognised by their published network addresses (refreshed daily), are never slowed down, challenged or counted as an attack. A fake Googlebot from anywhere else is treated like any other visitor.
  • A site can run something every night from its own page. A name under a wildcard domain that has no site yet shows a calm Nothing here yet page instead of a browser error, and a new account can get its main domain right away.
  • A site can change what it runs (PHP, files, an app, a container or a port) after it is made, and a PHP site can become static files.
  • A site's PHP open_basedir cannot be widened to reach another account's files, and a reverse-proxy site cannot be pointed at the server's own internal addresses (1.0.18).
  • Site settings in named topics, each saying what it is for. The raw configuration sits under Advanced.

Not there yet

  • WordPress toolkit: staging, cloning, updates and hardening.
  • More web servers as drivers: Angie, OpenLiteSpeed, Apache and Caddy.

Every action in this area is in the panel, one keystroke away in the command palette (Ctrl K), on the command line and in the API, and most changes can be previewed as a plan first. RespireCloud is released and installs on your own server today.

The Websites page with one site opened on its Settings tab: the site's address, shortcuts to ask the assistant why it is slow, and sections for address, HTTPS, speed and cache, uploads and limits, security headers and redirects. The Websites page with one site opened on its Settings tab: the site's address, shortcuts to ask the assistant why it is slow, and sections for address, HTTPS, speed and cache, uploads and limits, security headers and redirects.

Modules in this area

Further reading