FastPanel: site settings

In the examples 203.0.113.10 is your server address and my-site.com is your domain. The server address, panel login and password are in the VPS activation e-mail.

Site card → "Settings".

SectionWhat is set
MainEnable or disable the site, domain, admin e-mail, charset, IP address, aliases.
Static contentGzip compression (level 1–5 is enough), static cache time, extension list.
HTTPSCertificate, HTTPS redirect, HSTS, HTTP/2.
RedirectsMain mirror (with or without www), auto subdomains.
Log settingsEnable logs, number of files kept, rotation.
BackendPHP, Node.js, Systemd, Reverse proxy or static; PHP version and mode; working subdirectory.
Static content
Static content
Site settings: main
Site settings: main

Main mirror

"Redirects" → "Main mirror" → my-site.com or www.my-site.com. The other address redirects to the main one.

Redirects
Redirects

Site from a subfolder

For Laravel and similar: "Backend" → working subdirectory public.

Delete a site

"Delete website" removes files, domains, certificates and linked databases. Only a backup can bring them back.