[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Change fqdn



To get hostname to work for myhost.example.com do this:

* Make sure /etc/hostname has myhost.
* Put this line in /etc/hosts:

1.2.3.4 myhost.example.com myhost

David

On Tuesday 24 January 2006 02:01 pm, José Pablo Ezequiel Fernández wrote:
> Hello.
> How do I change the fqdn of a computer ?
> No matter what I do, hostname -f keeps telling "localhost.localdomain", other 
> computers with the same configuration give the right hostname.
> Thank you.



Reply to: