On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command.
I want to change it to 'localhost.localdomain' because I think it is more generic and reliable.
localhost.localdomain already exists in these files: /etc/sysconfig/network AND /etc/hosts
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
G
Instead of127.0.0.1 localhost.localdomain localhost myhost
127.0.0.1 localhost.localdomain skynet
127.0.0.1 skynet.localdomain localhost skynet use127.0.0.1 localhost.localdomain localhost skynet
bohoomil
https://bbs.archlinux.org/profile.php?id=41264
2011-12-03T15:52:52Z
Linux terminal showing hostname dhcppc4 that i never configured.
@ghen, you are right about this. But when I have seen this fudging things up, it usually ends up the hostname being the comment (in this case #hostname). Do you think that it is actually setting it as a blank line?
WonderWoofy
https://bbs.archlinux.org/profile.php?id=60312
2012-10-20T07:37:51Z
Does it work w/o ipv6? If not, try only this one line in /etc/hosts:127.0.0.1 pantherworm.localdomain localhost.localdomain localhost pantherworm
Leonid.I
https://bbs.archlinux.org/profile.php?id=24210
2011-04-30T17:06:29Z
i have two machine, both are same version rhel6.4
serverB, installed the server by default hostname, localhost.localdomain
hostname -s
localhost
hostname
localhost.localdomain
can i change the hostname without edit /etc/sysconfig/network
because my serverA, i change the hostname during installation.
/etc/sysconfig/network is showing hostname=localhost.localdomain, but when i type hostname, i
bump
Llama
https://bbs.archlinux.org/profile.php?id=15123
2012-11-24T08:50:38Z
Hi ,
I have installed linux, and postfix however while configuring the mail.cf files i have the following doubts, pls help.
1. when i do hostname on my linux box it says localhost.localdomain
2. when i do hostname - a on my linux box it says localhost
3. The domain which I own is xyz.com
Hi,After installing the subj from AUR I have no idea how to start it. No trace of a procedure in the ArchWiki, in the comments, or on the forum. Any clue would be welcome.
Llama
https://bbs.archlinux.org/profile.php?id=15123
2012-12-08T06:35:58Z