VServer hostname
Jump to navigation
Jump to search
If your virtual server hoster overrides the hostname of your debian machine, just add this to your /etc/rc.local file:
hostname www.example.com
After a reboot you shell and other tools should greet you with the right name.