Results 1 to 3 of 3
I have two entries on my /etc/hosts file
10.10.10.128 db.my.com myhost
127.0.0.1 localhost.localdomain localhost
IT sometimes runs under myhost soemstimes runs under localhost how can I fix it to run ...
- 01-25-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
@localhost OR @myhost
I have two entries on my /etc/hosts file
10.10.10.128 db.my.com myhost
127.0.0.1 localhost.localdomain localhost
IT sometimes runs under myhost soemstimes runs under localhost how can I fix it to run always under the name of myhost ?
[eserr@localhost]~
[eserr@myhost]~
ahhahhhhhhhhhhhhhhhhhhh whyyyyyyyyyy
I feel that there is a simple solution because I know there are not too many dice in linux.
- 01-25-2007 #2
Hey,
Ensure that u hve your hostname in the following files:
1. /proc/sys/kernel/hostname
2. /etc/hosts
3. /etc/hostname (if u hve one)
4. /etc/sysconfig/network
- 01-25-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 4
thanks a lot now it works.


Reply With Quote