hostname
- To change the hostname on a Linux Server you need to do two things:
- put it into
/etc/hostname
- Create a host entry in
/etc/hosts
that points to127.0.0.1
with the hostname and FQDN.
/etc/hostname
/etc/hosts
that points to 127.0.0.1
with
the hostname and FQDN.