Subdomains
Subdomains live in a two-panel view: domains on the left (searchable, sorted so the ones with the most subdomains come first), and the selected domain's subdomains on the right. Each subdomain gets its own document root and can optionally get its own PHP-FPM pool, while SSL and HSTS are inherited from the parent domain by default.
Domains → Subdomainshttps://YOUR-SERVER-IP:8443/domains/subdomains| Subdomain | PHP | SSL | Document Root | Status | Actions |
|---|---|---|---|---|---|
| blog.example.com | PHP 8.4 | Inherited (parent) | .../subdomains/blog/public_html | Active | edit · visit · copy · delete |
| shop.example.com | PHP 8.1 | Let's Encrypt ⟳ | .../subdomains/shop/public_html | Active | edit · visit · copy · delete |
| old.example.com | PHP 7.4 | Self-Signed | .../subdomains/old/public_html | Active | edit · visit · copy · delete |
The table
Columns: Subdomain (full name), PHP Version, SSL, Document Root, Status and Actions. Each row offers Edit, Visit (opens https://subdomain.domain in a new tab), Copy Name and Delete, filtered by your permissions. A footer sums up totals, active count and how many carry SSL.
The SSL cell is worth reading carefully, because it reflects Panelica's inheritance model:
| SSL cell | Meaning |
|---|---|
| Inherited (parent) | The subdomain is covered by the parent domain's certificate and renews together with it. Nothing to manage. |
| Let's Encrypt | The subdomain has its own certificate; the expiry date shows on hover and a renew button sits next to the badge. |
| Self-Signed | A fallback certificate is active; a retry button attempts Let's Encrypt again. |
| HTTP | SSL is off for this subdomain. |
Creating a subdomain
Create Subdomain opens a dialog that starts with a reminder: new subdomains inherit PHP and SSL settings from the parent domain unless you say otherwise.
- Name: you type only the label; the dialog appends
.yourdomain.comfor you. - Document Root: defaults to
public_html, and the dialog previews the full path live:/home/USER/DOMAIN/subdomains/NAME/public_html. Leaving it empty tells the panel to serve from the subdomain's own root folder. - Redirect URL (optional): point the subdomain at another URL instead of hosting content.
- PHP Version: the default, "Inherit from domain", shares the parent's PHP-FPM pool. Picking an explicit version gives the subdomain its own dedicated PHP-FPM pool, useful when one app needs a different PHP than the main site.
- SSL / HTTPS: on by default; HSTS settings always follow the parent domain.
- Force HTTPS (shown while SSL is ticked): three choices: inherit the parent's behavior (default), force, or never force.
Editing
Edit opens the same dialog for an existing subdomain. The name is fixed; the document root, PHP selection, SSL, Force HTTPS and redirect URL can be changed.
Deleting
Delete asks for confirmation naming the subdomain and lists what is removed: all its files and directories, and its web server configuration.
Permissions
Subdomains are a licensed feature (subdomains); without it the page shows an upgrade overlay. Viewing, creating, editing and deleting are separate permissions, and the SSL renew/retry buttons follow the edit permission. Visit and Copy Name are always available to anyone who can see the page.