Add a new server IP to your license
When you install cPFence v4+ on a new server, the license is accepted only after the server’s IP address is on the license. Until then, cpfence --install-license and cpfence --status report:
The license was not accepted for this server: the key is wrong or this server's IP address is not on the license.Check that you copied the right key from the client area, then follow the steps for your license type.
Per-website license
Section titled “Per-website license”-
Add the new server to your Enhance cluster.
-
On the main control panel server, run:
Terminal window cpfence --sync-ipsOr, in the main control panel server’s WebUI, choose Local, then Tools & Utilities → System Utilities → Sync server IPs (per-website license only) → Sync IPs.
-
Wait for Sync completed. Response from server: success.
-
On the new server, run
cpfence --install-license cPFence-XXXXXXXXXXXXXXXXwith your key in place of the placeholder. -
Check
cpfence --statusfor an Active license.
The main control panel server also syncs automatically every six hours. More details: Sync IPs for a per-website license.
Bulk server license
Section titled “Bulk server license”- Open a support ticket for the bulk license service with the new server’s IP address.
- Wait for support to confirm that the IP was added.
- On the new server, run
cpfence --install-license cPFence-XXXXXXXXXXXXXXXXwith your key in place of the placeholder. - Check
cpfence --statusfor an Active license.
Still rejected
Section titled “Still rejected”If the license is still rejected after these steps, see If a license is rejected or open a support ticket with the exact error. Keep your key private.
