Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2007 13:27:52 -0400
From:      "Mike Barborak" <mab2001@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   hostname setting in rc.conf ignored?
Message-ID:  <b6c5c4be0705171027i68e078b7q165b60adb89e7af8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?

Thanks,
Mike



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