-   Linux - General (
-   -   localhost.localdomain (

hansi umayangan 12-23-2004 04:12 AM

how can i change localhost.localdomain

when i telnet 25 ( my mail server )

it always comes like localhost.localdomain

how can i change this

mijenks 12-23-2004 04:28 AM

different distributions have different ways. first step would be (in slackware) change /etc/hostname from localhost to <yourhostname>. it is maybe in /etc/init.d/hostname or some other such thing for RH or debian. (whereis hostname).

hansi umayangan 12-23-2004 04:54 AM

I am using redhat advance server
file is /etc/hosts
what should i change inside the file

hansi umayangan 12-23-2004 05:10 AM

file format like this (/etc/hosts) redlin localhost.localdomain localhost

All times are GMT -5. The time now is 10:32 AM.