LinuxQuestions.org
Help answer threads with 0 replies.
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 03-20-2003, 03:02 PM   #1
racediver007
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Rep: Reputation: 0
hostname vs domain


Can anyone give me a simple explanation of the difference between the hostname associated with the eth0 and the domain in the /home/etc file? I thought hostname and domain were the same.(?)
 
Old 03-20-2003, 03:11 PM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
/home/etc? what distro is this?
 
Old 03-20-2003, 03:17 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I assume you mean /etc/hosts not /home/etc if so:

Hostnames are generally used to name computers localy on your own network. Top level domain names need to be registered and are therefir visible to all internet users with access to a DNS server. You can use the /etc/hosts or C:\windows\hosts files (locations may be different on other systems) to create easy to remember names rather than ip addresses. eg. puting:

172.17.35.58 intranet

in all your clients hosts files would let you connect to your intranet server by typing "intranet" in your browser's address bar or telneting to it rather than using a hard to remember ip.
 
Old 03-20-2003, 03:22 PM   #4
racediver007
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Red Hat 7.3 actually the file is /home/larry/etc/ with "larry"being the name of the software,the file is set up to accept responses or queries when sending mail(at least thats how I understand it) it is using Qmail
 
Old 03-20-2003, 03:27 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
That isn't even a file it is a directory.

Can you give an example of the file?

Last edited by david_ross; 03-20-2003 at 03:31 PM.
 
Old 03-20-2003, 03:30 PM   #6
racediver007
LQ Newbie
 
Registered: Mar 2003
Posts: 3

Original Poster
Rep: Reputation: 0
sorry , very new at this!
 
  


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
Changing Hostname to Domain Name mikebua56 Linux - Newbie 1 11-06-2005 06:53 PM
Apache domain and hostname bcom Linux - Software 0 05-27-2004 02:35 PM
What is the difference between domain name and hostname? davidas Linux - Newbie 9 04-23-2004 01:38 PM
Want to set up a new domain name and hostname? hamster Linux - Networking 6 04-06-2003 12:04 PM
Understanding hostname/domain name SpaceGroove Linux - Newbie 2 01-26-2003 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 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