Change the hostname of a vps July 6, 20112 Comments You have to change the hostname in the following files: /etc/hosts /etc/sysconfig/network /proc/sys/kernel/hostname