Email from WHM/CPANEL
Your hostname (HOSTIT) could not be resolved to an IP address.
This means that /etc/hosts is not set up correctly, and/or there is
no dns entry for HOSTIT. 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.
Some or all of these problems can be caused by /etc/resolv.conf
being setup incorrectly. Please check that file if you believe
everything else is correct.
You may be able to automatically correct this problem by using the
'Add an A entry for your hostname' option under 'Dns Functions' in
your Web Host Manager.
HOSTS FILE:
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
18.14.16.26 HOSTIT HOSTIT.co sqwb1 sqwb1.HOSTIT.co
AND DNS: I can ping both HOSTIT.co and sqwb1.HOSTIT.co and they go to the correct IP
What could be causing this?