LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   localhost.localdomain (http://www.linuxquestions.org/questions/linux-general-1/localhost-localdomain-269468/)

hansi umayangan 12-23-2004 03:12 AM

localhost.localdomain
 
how can i change localhost.localdomain

when i telnet 192.168.5.10 25 ( my mail server )

it always comes like localhost.localdomain

how can i change this

mijenks 12-23-2004 03: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 03:54 AM

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

hansi umayangan 12-23-2004 04:10 AM

file format like this (/etc/hosts)

127.0.0.1 redlin localhost.localdomain localhost


All times are GMT -5. The time now is 02:34 AM.