It's confusing because in /etc/hosts you will have
192.168.0.1 vps.yourdomain.com vps
but the vps hostname is only vps when the FQDN is vps.yourdomain.com
It's confusing because in /etc/hosts you will have
192.168.0.1 vps.yourdomain.com vps
but the vps hostname is only vps when the FQDN is vps.yourdomain.com