Why do I see references to my old hostname?
Old hostnames references can occur if the hostname is changed outside of the WHM interface, such as from the command line. Changing the hostname by other means may not update all configurations as needed.
To prevent the hostname only being changed in some configurations, the server hostname should only be set through the WHM interface Change Hostname page located at:
Home » Networking Setup » Change Hostname
If the hostname has already been changed through other means, you should update it via the WHM interface to ensure that it is updated in all configurations.