Multi-Server Manager
Multi-Server Manager lets one CyberPanel server, the controller, manage your other CyberPanel servers, the managed servers, from its own panel. You see every connected server on one Managed servers page, get combined lists of websites, databases and mailboxes, switch servers from the header, and open any managed server’s panel with one click.
This guide explains what you need, how to connect a server in three steps, what you can do once it is connected, and how to end a link.
What you need
- CyberPanel 3.0.19 or later on every server: the controller and each server it will manage. (Servers on 3.0.11 to 3.0.18 can still be connected the older way, see below.)
- A full administrator account on each server.
- Two-factor login for that account on the controller. The controller’s Multi-Server page sets it up for you. Managed servers do not need it.
- A Multi-Server Manager license for the controller’s public IP address. Managed servers need no license.
- Each managed server must have a public IP address. A server whose own address is private cannot give a pairing code yet.
License and price
- $49 per year or $149 for a lifetime license, charged in USD. There is no monthly plan.
- One license covers one controller, by its IP address. That controller can manage an unlimited number of servers.
- Multi-Server Manager is a separate product. The CyberPanel Add-ons package and AppSumo licenses do not include it.
- Buy it on the Multi-Server Manager page. On a controller without a license, the Multi-Server pages also link to the order page with the server’s address filled in. A paid license is active within about a minute.
Step 1: Make the controller
- Upgrade every server to the latest CyberPanel (3.0.19 or later).
- On the server you will work from, open Multi-Server in the sidebar and choose Make this the controller.
- If your account has no two-factor login yet, press Set up two-factor login. Scan the code shown with an authenticator app on your phone (Google Authenticator, Microsoft Authenticator, Authy, 1Password and others), enter the code the app shows and your password, and press Turn on two-factor login and make this the controller. You stay signed in; from then on you sign in to this panel with your password and a code from the app.
- If your account already has two-factor login, enter your password and a code from the app and press Make this the controller.
The page now says This server is the controller and shows its IP address. You need that address in step 2.
Step 2: Get a pairing code on each other server
- On the server you want to manage, open Multi-Server and find Connect this server to a controller.
- Enter the controller’s IP address and your password (and a code from your authenticator app, if this account uses two-factor login), and press Get the pairing code.
- Copy the pairing code. It is shown only once, works once, for 10 minutes, and only from the controller address you entered.
Step 3: Paste the code on the controller
- On the controller, open Managed servers (the controller’s Multi-Server page has a link to it).
- Under Add a server, paste the code. A name is optional: without one, the server’s address is used. Press Add.
- The next page shows the server’s address and panel port. Press Connect.
The server is connected at once and is listed as Connected. Repeat steps 2 and 3 for each server you want to manage.
After you have entered your password on a Multi-Server page, it is not asked again for 15 minutes in the same session. On a server that already has a role, signing in to the panel counts too.
Servers on CyberPanel 3.0.11 to 3.0.18
Upgrading is free and the simplest path. If a server cannot be upgraded yet, it can still be connected, with one extra step:
- Managed server on 3.0.18 or older: its administrator account needs two-factor login. Open Multi-Server and choose the role Managed server, then open Controllers, choose Allow a controller, enter the controller’s IP address and copy the pairing code. When you paste it on the controller, the controller shows an eight-digit number: type it on the managed server, in Controllers, and press Approve. Then press I approved it, check now on the controller.
- Controller on 3.0.18 or older: it also shows an eight-digit number after you paste the code, but nothing needs to be typed on a 3.0.19 managed server: just press I approved it, check now (Check approval on older panels) on the controller.
What you can do from the controller
- Managed servers: every connected server with its status. Pause, resume or remove a server.
- Combined lists: websites, databases and mailboxes from all connected servers on one page.
- Server switcher: choose a server from the header to work on it.
- Open its panel: signs you in to the managed server’s own panel with one click. This session lasts 30 minutes.
- Open this page on another server: on create pages, opens the same page on the server you choose.
A form always applies to the server whose page it is on. To create a website on a managed server, choose that server first and fill in the form there.
Sessions opened from the controller
For safety, a session opened from the controller lasts 30 minutes and cannot create panel users, ACLs or API access, or open phpMyAdmin, the terminal or SSH keys. For those tasks, sign in to that server directly.
Keep the controller as well protected as your most important server: a controller can sign in to every server it manages, without that server’s own two-factor login.
Pause or end a link
- On the controller: Managed servers can pause, resume or remove a server. Removing asks the server to delete the link too; if it cannot be reached, it stays listed as Being removed and you can try again.
- On the managed server: open Multi-Server, then See the controllers of this server, and choose End this link. The controller loses access at once.
- Turn Multi-Server off on this server pauses the feature but keeps its connections; make the same choice again and they work as before.
Command line (as root)
P=/usr/local/CyberCP/bin/python; M=/usr/local/CyberCP/multiServer/msctl.py
$P $M status # role and links
$P $M role off|controller|node # same as the role page
$P $M disable # turn the feature off, always possible
$P $M revoke <link id> # managed server: end one controller's link for good
Troubleshooting
- Multi-Server is missing from the sidebar: the panel is older than 3.0.11, or your account is not a full administrator.
- “This controller has no active Multi-Server Manager licence”: there is no active license for the controller’s IP address. Buy one, or check that it was bought for this IP. A new license shows within about a minute.
- “The server answered with a redirect instead of a signed reply”: the managed server no longer accepts this link. The feature is off there, the link was ended there, or the request came from another IP address than the one allowed. Connect the server again.
- “This server is already connected” when connecting again: on the controller, open Managed servers, remove the old entry (or, if that server no longer exists, choose Delete from this list only), then connect it again.
- The pairing code is refused: it works once, for 10 minutes, and only from the controller address entered on the managed server. Get a new code, and check that you typed the controller’s public IP address.
- You were signed out of a managed server: sessions opened from the controller last 30 minutes. Open the server again from the controller.
- One-click sign-in does not work in Safari: it needs Safari 16.4 or later.
- Your browser warns about a certificate when opening a managed server: its panel uses a self-signed certificate. Issue a real certificate for its hostname.
- The controller’s IP address changed: the license is tied to the IP address. Contact support to move it, then connect each server again, because a link’s allowed IP cannot be edited.
- An upgrade said the Multi-Server Manager tables were not created: the upgrade continued and the feature stays off. Run the upgrade again when the database is healthy.
Known limits
- Each server keeps its own panel: a managed server’s pages do not open inside the controller’s panel.
- A managed server cannot pause a link. It can end it.
- A managed server whose own address is private cannot be connected yet.
- A link’s allowed IP address cannot be edited.