[olug] FQDN in Debian

Phil Brutsche phil at brutsche.us
Thu Jan 9 01:43:17 UTC 2003


Eric Penne wrote:
> I am redoing my webserver with Debian.  The hostname of the PC will be
> webserver and the domain name is thepennes.net but how do I set that in
> Debian?  i don't think it is all supposed to go into /etc/hostname and
> google searches mention putting it in /etc/hosts but that sounds wrong.

After playing with it for a few minutes "edit /etc/hosts" is indeed the 
correct answer.

>  I thought it might need to be put in /etc/network/option but I am
> having trouble finding any info on that file.

No, /etc/network/option isn't where you set it.

It's where you set options - spoof protection, IP forwarding, etc.

-- 

Phil Brutsche
phil at brutsche.us




More information about the OLUG mailing list