Howto redefine the hostname on Debian/Ubuntu

Just a small procedure as a self-reminder (I seem to have to use it just seldom enough to forget it each time – thanks Marvil):

  • define the new hostname on the 127.0.0.1 localhost line (after localhost) in /etc/hosts
  • set the new name in /etc/hostname
  • issue a “hostname -F /etc/hostname
  • done

Related Posts

Answering to different addresses with Chamilo

One possible annoying element of Chamilo is it can only answer to one...

2 Comments

Comments are closed.

Quick Contact Form