Tutorial: Cpanel Force Main IP Detection

Sometime if you have multiple IPs with your KVM VPS with us, Cpanel has some issues with the detection of the main IP. This occurs mostly if you have added an additional IP after Cpanel/WHM installation. You can manually change the settings on your server to force traffic over the main IP.

Tutorial below is for CentOS 6+

SSH as root into your server and open the following file: /etc/sysconfig/network-scripts/ifcfg-eth0:0 and comment out the GATEWAY line. Do this for all eth0:X files (one is created for each IP), then restart the network.

service network restart

Leave a Comment

Experience the power of lightning-fast web hosting in Mauritius.

Secure, reliable and always online. Your partner for effortless web hosting.


Icy Evolution

Les Fascines, Impasse de la Distillerie, Vivea Business Park - Mauritius

Tel: +230 57 95 31 81