Cpanel detects wrong Main Server IP

renegadeavenger

Registered
Jul 16, 2005
4
0
151
For some reason my Cpanel detects the main server ip as a local internal IP. I do not know how to fix this. But this is causing some serious issues as Cpanel keeps trying to add the A record for the hostname to 192.168.0.X

Anyone know how to configure Cpanel so it recognizes the right main IP address?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
cPanel will simply pick up the IP address on the main ethernet adapter - make that that (usually eth0) has the main IP address assigned to it. If the main IP is on a different device, then you can set the device name to use in WHM > Basic Setup