[SATLUG] Doh! How do i change the hostname of a ubuntu server?
Ernest De Leon
edeleonjr at gmail.com
Thu Jan 3 23:24:59 CST 2008
edit /etc/hostname and change it there
then restart the machine.
On Jan 3, 2008 9:13 PM, FIRESTORM_v1 <firestorm.v1 at gmail.com> wrote:
> Well, I feel stupid..
> I installed Ubuntu on a server on my local network. All of the DHCP ip
> addressess resolve to a local network name dhcpXX.matrix so my ubuntu box
> pulled dhcp132.matrix. After I got it up and assigned an IP address based
> on the network MAC in the /etc/dhcpd.conf on the DHCP server and added the
> appropriate entries in the zone files, the IP now correctly resolves but
> server still thinks it's dhcp132.matrix and not it's correct hostname as
> assigned by DNS.
> Where do I find and change the locally stored name of the server so it
> reports the correct hostname?
> Thanks in advance!
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> Powered by Rackspace (www.rackspace.com)
They who can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety. - A common 18th Century sentiment
voiced by Benjamin Franklin
Join the Ron Paul Revolution - Taking America Back
More information about the SATLUG