LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-23-2004, 03:12 AM   #1
hansi umayangan
Member
 
Registered: Aug 2004
Distribution: AS3
Posts: 81

Rep: Reputation: 15
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
 
Old 12-23-2004, 03:28 AM   #2
mijenks
Member
 
Registered: Mar 2004
Location: NY
Distribution: Gentoo
Posts: 112

Rep: Reputation: 15
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).
 
Old 12-23-2004, 03:54 AM   #3
hansi umayangan
Member
 
Registered: Aug 2004
Distribution: AS3
Posts: 81

Original Poster
Rep: Reputation: 15
I am using redhat advance server
file is /etc/hosts
what should i change inside the file
 
Old 12-23-2004, 04:10 AM   #4
hansi umayangan
Member
 
Registered: Aug 2004
Distribution: AS3
Posts: 81

Original Poster
Rep: Reputation: 15
file format like this (/etc/hosts)

127.0.0.1 redlin localhost.localdomain localhost
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost.localdomain steve007 Linux - Newbie 3 07-27-2005 03:48 AM
localhost.localdomain RJEmery Linux - Newbie 21 05-30-2005 03:59 PM
localhost.localdomain cryzpene Linux - Software 1 06-05-2004 11:57 AM
localhost.localdomain d1ny3 Mandriva 2 04-17-2004 08:27 PM
localhost.localdomain??? neozero62 Linux - Newbie 2 10-31-2003 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration