Wrong info in CWP info block

Started by Luca2186, February 08, 2017, 09:15:16 AM

Previous topic - Next topic

Luca2186

The CWP info block at the end of the right column report a wrong information.
Near 'Server IP' there is a wrong host name
The format should be:
Server IP: 123.123.123.123 | server1.mydomain.it
But what i see is:
Server IP: 123.123.123.123 | server1.mydomserver1.mydomain.it.it
My rdns is correct and points to server1.mydomain.it
My hostname seems to be correctly set in both cwp and centos6 to server1.mydomain.it
Where cwp gui fetch this wrong information? ho can I fix it?
Thanks

Sandeep


Luca2186

#2
Thank you, the problem was in /etc/hosts.
I found both correct and incorrect hosts in it, I deleted all the wrong hosts and than ran  /etc/init.d/network restart just to be sure.