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
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
Just to clarify, is this a support question (as rm_/etc is assuming) or why "localhost.localdomain" instead of just "localhost"?
Stebalien
https://bbs.archlinux.org/profile.php?id=36461
2013-01-14T05:52:11Z
Linux terminal showing hostname dhcppc4 that i never configured.
Thanks, moetunes! My /etc/hostname has already been set to mybox .## /etc/hosts: static lookup table for host names##<ip-address> <hostname.domain.org> <hostname>127.0.0.1 localhost.localdomain localhost# End of fileThis should be correct. Unfortunately, the problem is still there. Could /etc/hosts be innocent, after all?
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
i forgot my password and had to go into root by using recovery mode on boot and reset my password. Now instead of my pc being called a600n it calls itself localhost.localdomain. How do i fix this?
OS= 12.04 32-bit
john
I got a problem with centOS 6.3 64-bit. I want to setup my nameserver with bind here.
I know this should be easy.