A quicky this, for personal reference more than anything else.
Checking the Hostname
From within the console, run hostname to check the current hostname.
Changing the Hostname
To change the hostname run
check it has happened with hostname and then restart the network
systemctl restart network
(or simply network restart on older centos versions)