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

Re: Change fqdn



Steve Witt wrote:
> On Tue, 24 Jan 2006, [utf-8] 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.
>> -- 
> 
> 
> The hostname of the computer is contained in '/etc/hosts'. You can
> change it there.

I think you mean /etc/hostname
But when you change it, you'll need to be sure to add the new hostname
to /etc/hosts with the IP address of 127.0.0.1

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.



Reply to: