How to Add or Remove a Server in the cPFence WebUI Central Dashboard?

If you've installed cPFence on a new server or need to remove an old server and want the changes to reflect in your central WebUI dashboard, follow the steps below to register the new server manually.

Step 1: Open the Server List Configuration

Edit the servers.txt file located in the following path on your main control panel :

nano /opt/cpfence/user-config/cpfwebui/servers.txt

Step 2: Add or Remove Server Entry

Add a new line in the following format:

newserver.yourcompany.com,root@server-ip-here

Replace the hostname and IP with the actual values for your server. To remove an old server, simply delete the corresponding line that contains the server's hostname and IP address.

Step 3: Restart the WebUI

To apply the changes and refresh the dashboard, run the following command:

cpfence --restart-webui

Your new server should now appear in the central dashboard for easy access and control.

 


Need Further Assistance?

If you encounter any issues or have additional questions, feel free to reach out to our support team via your client portal.

 

  • 2 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

Troubleshooting Common Issues with the cPFence WebUI

Note: Please make sure you added your IP to the whitelist using the commandcpfence...

How to Secure SSH While Allowing cPFence WebUI Access?

If you want to keep SSH secure while ensuring compatibility with the cPFence WebUI, you do not...

How to Enable cPFence WebUI?

Important: The cPFence WebUI can only be enabled and run on your Enhance main control panel...