If you have recently updated your cPanel servers to 11.46, you may have received something that looks like the following alert.
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
Once that’s done, you can test that your server will no longer send an alert by running the hostname validation script manually:
———-
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:
Once that’s done, you can test that your server will no longer send an alert by running the hostname validation script manually:
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
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
No comments:
Post a Comment