osyrys14

Member
Jul 5, 2013
23
0
1
cPanel Access Level
DataCenter Provider
Keep getting these emails,

The hostname (cpanel-internal.domain.au) resolves to
103.9.x.xx. It should resolve to 10.1.x.xx. Please be sure that
the contents of /etc/hosts are configured correctly, and also that
there is a correct 'A' entry for the domain in the zone file.

However, if I change it to resolve to the internal IP address, nothing will resolve to the internet properly. Can we just ignore these messages, or is there something that can be done about this?
 

24x7server

Well-Known Member
Apr 17, 2013
1,894
91
78
India
cPanel Access Level
Root Administrator
Hello,

I can see you server hostname is not setup correctly on your server and due to that it's resolving to correct IP. You will have to setup the correct and fully qualified domain name for your hostname. You can change it through WHM >>Networking Setup >> Change Hostname and after that add correct "A" record for your server hostname through WHM >> DNS Functions >> Add an A Entry for Your Hostname
 

24x7server

Well-Known Member
Apr 17, 2013
1,894
91
78
India
cPanel Access Level
Root Administrator
Also I will suggest you, If your main domain is hosted on other server then you will have to add "A" entry for your " cpanel-internal " to your server IP 103.9.xx.xx so that you should not get any other issues with your server hostname
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

Actually, you can safely ignore this warning message. It's normal for this message to show up when you are using a private IP address. There is an internal case open (#56083) to address this issue in a future build of cPanel, however in the meantime you may want to setup a filter in your email client to prevent this message from appearing in your inbox. Please ensure your hostname does resolve to a public IP address.

Thank you.