Disabling Network Manager no internet connection on cPanel install
Because cPanel uses network.service to route networking services you must disable network manager from your guest and enable the network.service before you can even install cPanel. Unfortunately, this means your F2H NVMe VPS will have no internet connection when you do this. Specifically, when you disable network manager from your guest your guest no longer knows where to route traffic so we must tell it.
At the time of writing this article cPanel can only be installed on CentOS machines but this is changing. We will update this guide should manual routes be needed on different OS versions. This configuration works on the F2H network and may not work on other hosts networks. Since 2021 we now package our templates with a route-eth0 file so you no longer have to manually add the route.
After disabling network manager, create a route-eth0 file. Inside the file place the route to your gateway. In our example, our gateway is 188.8.131.52.
nano /etc/sysconfig/network-scripts/route-eth0 # Add default route 184.108.40.206 dev eth0 default via 220.127.116.11 dev eth0
Save and close the file then restart your networking or reboot your server. After this, you will be able to ping outside IPs and can continue with installing cPanel.
How was this article? – Disabling Network Manager no internet connection on cPanel install
You might also like
More from cPanel
SWAP is a memory type that Linux NVMe VPS Servers use to process requests. Memory will be held in SWAP …
The Error: last request failed: [AUTH] Authentication failed error can be caused by a range of things. It could be …