Web Hosting Talk







View Full Version : netstat problem


ckevin
06-14-2001, 01:53 PM
I have to remove the domain "WASTE.COM" from the server. I have done the command:

netstat -vat | grep server

and here is the result:

tcp 0 0 WASTE.COM:domain *:* LISTEN
tcp 0 20 WASTE.COM:ssh 1.2.3.4:* ESTABLISHED
tcp 0 0 WASTE.COM:ssh 1.2.3.4:* ESTABLISHED

For "WASTE.COM:domain", I searched the Apache http.conf and can't find the WASTE.COM word inside.

Can you tell me which files have to modify in order to clearly remove the 'WASTE.COM' from my server?

Thanks,

Kevin

JTY
06-14-2001, 10:14 PM
Those are most likely appearing as someone is connected to the server on the "WASTE.COM" ip.

Also, the dns info netstat shows is taken from reverse ip lookup.

ckevin
06-14-2001, 10:25 PM
yes, i'm connected to the server on the "WASTE.COM" ip remotely! What I need is to change the "WASTE.COM" to "USEFUL.COM" so that "WASTE.COM:domain" and "WASTE.COM:ssh" is replaced by "USEFUL.COM:domain" and "USEFUL.COM:ssh".

I have tried to modify /etc/host file, /etc/sysconfig/network and the command 'hostname USEFUL.COM' and reboot it but it still displayed the "WASTE.COM" things...

Are there any other files I need to modify?

Thanks your help.

ckevin
06-15-2001, 08:50 PM
oh, thanks, I finally figure it out, it's just the PTR problem... :)