Connect CyberPanel servers
ClientFence creates, suspends and removes CyberPanel users and websites through the CyberPanel API. You add each server once with a CyberPanel account, then link your hosting plans to CyberPanel packages.
Turn on API access in CyberPanel
Section titled “Turn on API access in CyberPanel”- Sign in to CyberPanel as the admin and open Users → API Access.
- Choose the account ClientFence will use, select Enable API Access and save.
- Let your ClientFence server reach the panel port (8090 by default) through the server’s firewall.
Add the server
Section titled “Add the server”- Go to System → Hosting Plans and Servers, stay on the Hosting Servers tab and select New Server.
- Fill in the form and select Add Server:
| Field | What to enter |
|---|---|
| Name | Any name you know the server by. |
| Hostname | The address CyberPanel opens at, such as server1.example.com. ClientFence connects to it. Required. |
| IP | The server’s main IP address. |
| Server Manager | CyberPanel. |
| CyberPanel Username | The account with API access, such as admin. |
| Password | That account’s password. |
| Connection Port | Empty uses 8090, the CyberPanel port. |
| Verify TLS Certificate | Yes, unless the server uses a self-signed certificate. |
| Password Length | Length of the passwords ClientFence makes for new accounts. Empty means 10. |
ClientFence always connects to CyberPanel over HTTPS, so Use Secure Connection has no effect.
- Select Test Connection (the signal icon) on the server’s row. It checks the user name and password through the API.
On the server’s edit page, Users Prefix adds a prefix to the user names ClientFence makes. Saved credentials are never shown again. To change one, enter a new value and save.
Link hosting plans to CyberPanel packages
Section titled “Link hosting plans to CyberPanel packages”ClientFence cannot create CyberPanel packages. Make each package in CyberPanel first, then make a hosting plan on the Hosting Plans tab (New Plan) with exactly the same name. The website gets the CyberPanel package of that name. From the hosting plan, only Maximum Addon Domains is sent: it becomes the user’s website limit.
New users get the user access level, or reseller with Reseller Hosting. To use another
CyberPanel access level (ACL), add the Parameter Name ACL with the ACL name as Parameter
Value under Hosting Plan Additional Parameters, then select Add New Field.
Then choose the server and the hosting plan in the product’s Configuration tab, under Hosting Settings. See Products.
What ClientFence does in CyberPanel
Section titled “What ClientFence does in CyberPanel”| Action | What happens |
|---|---|
| Order activated | Creates the user with a user name from the domain, a new password, the client’s name and email, then creates the website for the domain with the package. |
| Suspend / unsuspend | Suspends or reactivates the website. |
| Cancel | Deletes the website, then the user. |
| Change Package | Moves the website to the CyberPanel package with the new plan’s name. |
| Change Password | Changes the user’s password. Clients can do this on their service page too. |
| Sync | Not shown for CyberPanel accounts. |
| Change Username, Change Domain, Change IP | Not supported: the action stops with the message “CyberPanel does not support …”. |
| Login to Control Panel (client) | Opens the CyberPanel sign-in page, https://<Hostname>:8090/. There is no one-click sign-in. |
| Login to Control Panel (staff) | Opens the same address. |
A new password reaches CyberPanel on active, suspended and expired orders. While an order is not yet set up or is canceled, it is saved in ClientFence only.
If something fails
Section titled “If something fails”- CyberPanel requires a hostname, username and password.: fill in the Hostname, CyberPanel Username and Password.
- CyberPanel could not verify the credentials. Check the username, password and API access.: shown by Test Connection. Check the account and that its API access is on.
- Could not connect to CyberPanel.: check the Hostname, the Connection Port and that the firewall lets the ClientFence server reach it.
- CyberPanel returned an invalid response.: the address or port answers with something other than the CyberPanel API.
- CyberPanel refused the request: …: the rest is CyberPanel’s own message, for example a package name that does not exist or a website that is already there.
Failed order actions are listed under Orders → Failed actions. See Failed actions.

