Hostname in vps

Is hostname important? Should we change the ip 127.0.0.1 to vps ip in hostname? And why?