Re: change hostname on Debian box

Top Page
Attachments:
Message as email
+ (text/plain)
+ (application/pgp-signature)
Delete this message
Reply to this message
Author: Bill Jonas
Date:  
To: PLUG
Subject: Re: change hostname on Debian box
On Fri, Mar 05, 2004 at 11:32:30AM -0700, wrote:
> If I want to use a fqdn hostname.domainname.com instead of just hostname
> can I just place that in /etc/hostname or do I need to do something else
> to use a fqdn?


On a Debian machine, generally you put just the hostname in
/etc/hostname and the FQDN in /etc/hosts. You'll probably want to edit
/etc/mailname, too, since you're running an MTA.

-- 
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins