Host independent websites within a hosting account #102

Merged
parkel merged 3 commits from feature/independent-websites into main 2026-11-22 12:17:45 +01:00
Owner

Summary

  • Add independent domains and subdomains under a single hosting account. Each site has its own document root, system user, PHP-FPM pool, Apache configuration, quota, and Certbot lineage. The hosting plan limits the total number of independent sites, including the primary website.
  • Queue provisioning, PHP series changes, HTTPS, suspension, and retirement for the selected site. Account-wide suspension includes the additional sites. Account resumption preserves individual suspensions. Retirement archives the site's data and retains its domain reservation.
  • Include activated sites as separate components in account backups. Allow an operator to restore a single file or an entire document root to the selected site. Preserve the primary manifest and existing archive formats.

Closes #94

Verification

  • Passed 472 Django tests, including account scope, plan limits, PHP runtime changes, suspension, retirement, and matching the exact website during restore.
  • On Ubuntu 26.04, provisioned a primary site and two independent sites. Verified distinct PHP sockets and system users, tenant file permissions, and enforced ext4 user quotas.
  • Obtained separate certificates with Certbot against a local Pebble ACME server. Verified HTTPS, account backup of all three sites, a file restore to one of them, and that suspension and retirement left the other sites serving their content.
  • Verified the source distribution and wheel against the branch commit.
## Summary - Add independent domains and subdomains under a single hosting account. Each site has its own document root, system user, PHP-FPM pool, Apache configuration, quota, and Certbot lineage. The hosting plan limits the total number of independent sites, including the primary website. - Queue provisioning, PHP series changes, HTTPS, suspension, and retirement for the selected site. Account-wide suspension includes the additional sites. Account resumption preserves individual suspensions. Retirement archives the site's data and retains its domain reservation. - Include activated sites as separate components in account backups. Allow an operator to restore a single file or an entire document root to the selected site. Preserve the primary manifest and existing archive formats. Closes #94 ## Verification - Passed 472 Django tests, including account scope, plan limits, PHP runtime changes, suspension, retirement, and matching the exact website during restore. - On Ubuntu 26.04, provisioned a primary site and two independent sites. Verified distinct PHP sockets and system users, tenant file permissions, and enforced ext4 user quotas. - Obtained separate certificates with Certbot against a local Pebble ACME server. Verified HTTPS, account backup of all three sites, a file restore to one of them, and that suspension and retirement left the other sites serving their content. - Verified the source distribution and wheel against the branch commit.
parkel added 3 commits 2026-11-22 12:11:43 +01:00
Document and verify independent website workflows
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
db62940063
parkel added the area/backupsarea/hostingarea/panel
kind
feature
labels 2026-11-22 12:11:43 +01:00
parkel merged commit 651ee0fbe1 into main 2026-11-22 12:17:45 +01:00
parkel deleted branch feature/independent-websites 2026-11-22 12:17:45 +01:00
Sign in to join this conversation.