Toggle Maintenance Mode (WebUI Method)
- Open cPFence WebUI, pick your server, and navigate to Tools & Utilities ➜ WP-AutoShield Bulk Tools.
- Select Enable Maintenance Mode to show the default offline page, or Disable Maintenance Mode to bring sites back online.
- Confirm the command; cPFence drops/cleans the
.maintenancefile on every chosen site. - Use the optional site selector to limit the maintenance window to a subset of domains.
- Check the log output for success before informing customers.
Plan the enable/disable cycle during off-peak hours to minimize disruption.
Command Line (CLI) Method
- SSH into the server.
- Enable maintenance mode everywhere:
cpfence --bulk-enable-maintenance-mode - Disable it afterward:
cpfence --bulk-disable-maintenance-mode
Need Further Assistance?
Visit our Knowledgebase or contact our support team for help.
