To change the hostname on your VPS or Dedicated Server please use the following command:
hostname servername.yourdomain.com
E.g. server65.switchmyserver.com
To make the changes even after reboots you will need add/modify the following line in /etc/sysconfig/network:
HOSTNAME=servername.yourdomain.com