Quick Reference
👤 Client Management
Add, list and remove hosting clients with isolated web, SFTP and database access.
✉️ Email & Webmail
Create mailboxes, aliases and manage DKIM signing for deliverability.
🔒 SSL & DNS
Issue Let's Encrypt certificates and required DNS records per domain.
🛡️ Security
Fail2ban jails, firewall rules, client isolation and hardening notes.
🔧 Troubleshoot
Common issues, log locations and diagnostic commands.
Server Status
cx1-status.sh
Script Reference
cx1-add-client.sh <client> [pubkey] # create client (quota+slice+SFTP+DB) cx1-add-domain.sh <client> <domain> # add domain (/webmail + /phpmyadmin included) cx1-generate-client-page.sh <client> # generate client connection-info HTML page cx1-add-ssl.sh <domain> # Let's Encrypt SSL cx1-add-dkim.sh <domain> [selector] # DKIM signing key (via Rspamd) cx1-add-mailbox.sh user@domain # create mailbox cx1-add-alias.sh src@dom dst@dom # mail alias cx1-set-quota.sh <client> <size> # change disk quota (e.g. 5G) cx1-traffic-report.sh <client|--all> # generate GoAccess traffic report cx1-sftp-key.sh <client> [pubkey] # replace SFTP key cx1-list-clients.sh # list all clients cx1-remove-client.sh <client> # remove client + all data cx1-status.sh # server overview
Client info pages
# After adding a client and domain, generate their connection-info page: cx1-generate-client-page.sh acme # Saved to: /var/www/html/guides/client-acme.html # Send URL to client, then delete once delivered: rm /var/www/html/guides/client-acme.html # Blank template (URL patterns, no real credentials): /guides/client-template.html