Your cPanel may not work if you enter your non-main IP when setting it up. The way to fix it is to go back to the setup screen by removing the following file:
rm /etc/.whostgrft
cpanel, ip, licensing, issueyour, removing, rm, etc, whostgrft,