Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 13:54:52 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Mike Barborak <mab2001@gmail.com>
Subject:   Re: hostname setting in rc.conf ignored?
Message-ID:  <200705171354.52627.lists@jnielsen.net>
In-Reply-To: <b6c5c4be0705171027i68e078b7q165b60adb89e7af8@mail.gmail.com>
References:  <b6c5c4be0705171027i68e078b7q165b60adb89e7af8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 17 May 2007 01:27:52 pm Mike Barborak wrote:
> Hello,
>
> I have a FreeBSD 4.7-RELEASE-p28 server that was initially configured with
> the hostname mydomain.com. I am trying to permanently change that to be
> www.mydomain.com. I have added this line to my /etc/rc.conf file:
>
> hostname="www.mydomain.com"
>
> but after restarting the server it continues to return mydomain.com when i
> run the command hostname. Can anyone tell me what I am doing wrong?

Is there a second hostname entry further down in rc.conf with the original 
value?

JN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705171354.52627.lists>