LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2005, 10:45 PM   #16
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74

For your hostname, you can put anything you like as long as it is not the name of a fully qualified domain name on the web. I only put the "lan" bit because there isn't a domain on the net that ends in that name. You could even just use "localhost.localdomain" as your host name and it should still work fine.
 
Old 05-27-2005, 11:51 PM   #17
setenv02
Member
 
Registered: Apr 2005
Location: Chicago,IL
Distribution: redhat 9
Posts: 32

Rep: Reputation: 15
It's possible that your hostname is changed so make sure you have the right hostname in the /etc/hosts file which will correct the problem. This is what my file looks like
127.0.0.1 linux localhost
 
Old 05-28-2005, 04:35 PM   #18
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Rep: Reputation: 15
I appreciate your help, setenv02, but, for some reason, my hosts file appears to have been deleted. Thankfully, it's now fixed.
Quote:
For your hostname, you can put anything you like as long as it is not the name of a fully qualified domain name on the web. I only put the "lan" bit because there isn't a domain on the net that ends in that name. You could even just use "localhost.localdomain" as your host name and it should still work fine.
I see - the .lan suffix is like .com except .lan doesn't exist? Out of curiosity, what would happen if I used a qualified domain like localhost.amazon or localhost.linuxquestions?
 
Old 05-29-2005, 03:05 AM   #19
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Nothing would happen because they are not fully qualified domain names.
 
Old 05-30-2005, 01:46 PM   #20
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Rep: Reputation: 15
I think I understand now. To be fully qualified, it would have to end in .com or .org or some other valid Internet suffix. Is that what fully qualified means? So you could actually call your computer myhost.amazon or myhost.linuxquestions.lan and you wouldn't have any security or other problems as long as you didn't end it with .com etc. ?
 
Old 05-30-2005, 02:17 PM   #21
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Thats the idea.
 
Old 05-30-2005, 04:59 PM   #22
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Rep: Reputation: 15
Thumbs up

Neato!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost.localdomain steve007 Linux - Newbie 3 07-27-2005 04:48 AM
localhost.localdomain cryzpene Linux - Software 1 06-05-2004 12:57 PM
localhost.localdomain d1ny3 Mandriva 2 04-17-2004 09:27 PM
localhost.localdomain??? neozero62 Linux - Newbie 2 10-31-2003 11:25 AM
localhost.localdomain blankx87@m-i-m. Linux - Newbie 1 11-17-2002 05:28 AM


All times are GMT -5. The time now is 06:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration