Document website alias DNS and HTTPS setup
This commit is contained in:
1 parent
727f7b2c28
commit
0b12ea5a44
2 files changed
+37
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user