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.