Web Hosting Talk







View Full Version : strange hostname


raylin
02-16-2001, 10:18 PM
Can anybody help me fix this ?


[admin admin]$ echo $HOSTNAME
www.mywebhost.com.tera-byte.com
[admin admin]$


Thanks in advance,

[Edited by raylin on 02-16-2001 at 09:24 PM]

allan
02-16-2001, 11:17 PM
Someone forgot to put a "." at the end of the domain name, so bind automatically tacked on tera-byte.com.

raylin
02-17-2001, 12:18 AM
I cat these files:

/etc/HOSTNAME

www.mywebhost.com.tera-byte.com


/etc/hosts

127.0.0.1 localhost
216.234.xxx.10 www.mywebhost.com.tera-byte.com # main interface


/etc/resolv.conf

search tera-byte.com
nameserver 216.234.161.11
nameserver 216.234.161.12
nameserver 204.209.56.2



and
/etc/sysconfig/network

NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=www.mywebhost.com.tera-byte.com
GATEWAYDEV=eth0
GATEWAY=216.234.xxx.1

raylin
02-17-2001, 02:17 AM
I resave every setting in Control Panel. And this fixs the problem. :D