Document website alias DNS and HTTPS setup
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-21 15:32:02 +01:00
1 parent 727f7b2c28
commit 0b12ea5a44
2 files changed
+37 -1

No files matched your search

+28
View File
@@ -221,6 +221,34 @@ the managed sites. Use **Change storage limit** on the deployed account to
apply the hosting plan's default or choose a per-site value.
[Website storage quotas](development.md#apply-a-website-storage-limit)
### Serve additional hostnames on a website
After activating a website, use **Add alias** on the hosting account.
The alias uses the same document root and PHP-FPM pool as the primary domain.
Operators need **Can manage website aliases** and permission to view hosting
accounts. Apache hostname matching selects the virtual host for the alias.
[Apache name-based virtual hosts](https://httpd.apache.org/docs/current/en/vhosts/name-based.html)
Point the alias to the same address or reverse proxy as the primary
domain. Add the DNS records where that hostname is managed. A reverse proxy
must forward the alias in the original Host header. Only use hostnames that
you control. The panel reserves each hostname for one website and checks
existing Apache hostnames when activating an alias.
Once the alias is active, select **Enable HTTPS** with the permissions and
local HTTPS worker described below. The alias uses its own Certbot lineage.
HTTP-01 must reach the web node for the alias hostname. Certbot renews it
using the same renewal hook as the primary website.
Selecting **Remove** disables the alias virtual hosts and deletes the
dedicated Certbot lineage. Check the result in the account before reusing
the hostname. Remove aliases before deleting an account or editing its
primary domain. An unmatched hostname can still reach Apache's default virtual
host while its DNS points at the node. Use a default virtual host that
serves no tenant content when unknown hosts should be rejected.
[Apache default virtual host](https://httpd.apache.org/docs/current/en/vhosts/name-based.html#defaultvhost) ·
[Deleting a Certbot certificate](https://eff-certbot.readthedocs.io/en/stable/using.html#deleting-certificates)
## Enable HTTPS for hosted websites
Once a site is active, obtain the website certificate with Certbot on the
+9 -1
View File
@@ -810,7 +810,15 @@ The status command reads local state. It exits with code 0 for `configured`,
code 2 for the other report states, and code 1 if it cannot read the manifest
or inspect the node. Use an HTTP request to verify the site's response as well.
### Enable HTTPS for a hosted website
#Website aliases reuse the activation and HTTPS sockets. The web node stores
alias reservations under `/var/lib/coulobre/web-node/aliases/` and creates
separate Apache virtual hosts that share the primary site's document root and
PHP-FPM socket. Existing website deployment manifests use the primary domain
as their identity.
See [managing aliases in the panel](deployment.md#serve-additional-hostnames-on-a-website).
## Enable HTTPS for a hosted website
Apply the web deployment manifest first. Use Certbot to obtain and renew
the website's Let's Encrypt certificate. The HTTP-01 challenge requires