if i want to change the host name from the default that was created from installation so it doesn't contain .my.domain:
i need to modify /etc/myname
>from
therue.my.domain
>to
therue
and also modify /etc/hosts
>from
127.0.0.1 localhost
::1 localhost
>to
127.0.0.1 localhost therue
::1 localhost therue
is this correct? putting the hostname i want in the alias section of the entries?
FROM myname(5) man page:
Quote:
"/etc/myname contains the symbolic name of the host machine. The file should contain a single line specifying the fully qualified domain name (FQDN) of the system (e.g. host.example.com). The name must be resolvable, either by matching a hostname specified in /etc/hosts (see hosts(5)) or through DNS (see resolv.conf(5)). "
|