If you have recently updated your cPanel servers to 11.46, you may have received something that looks like the following alert.
WHM has detected a manual hostname change.
To fix this problem, we recommend that you perform the following action:
Update your hostname in WHM’s (http://new.hostname.com:2087/scripts2/changehostname) interface (Home » Networking Setup » Change Hostname).
If you did, then that means that your hostname was updated outside of WHM after cPanel was installed on that server. The fix is simple.
If your server is a WHM webserver, you need only navigate to WHM >> Change Hostname

WHM Change Hostname
Once that’s done, you can test that your server will no longer send an alert by running the hostname validation script manually:
/usr/local/cpanel/scripts/check_valid_server_hostname
———-
If your server is running cPanel’s DNSOnly version of WHM, you have to manually change the cPanel-configured hostname by editing the HOST definition in /etc/wwwacct.conf:
-bash-4.1# hostname
new.hostname.com
-bash-4.1# grep HOST /etc/wwwacct.conf
HOST old.hostname.com
-bash-4.1#
Once that’s done, you can test that your server will no longer send an alert by running the hostname validation script manually:
/usr/local/cpanel/scripts/check_valid_server_hostname
Thanks for the info. I go through GoDaddy for hosting. I have a Private Virtual Server with them and a while back (maybe 3 weeks or so), I changed the hostname and created an A entry (?) for it. I haven’t touched it since. Today, I got an e-mail giving me the message you got. However, when I went into WHM and did what they said, it still listed the hostname that I set up. I changed it to the same hostname though, thinking maybe something had happened. Any idea why I got the message? Thanks!
I’m not entirely sure on the logic, but I know the alert doesn’t trigger every time. It’s possible that it didn’t catch it, but pretty unlikely. I would just re-set the hostname through WHM and see if it comes up again.