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.(?)
|
/home/etc? what distro is this?
|
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. |
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
|
That isn't even a file it is a directory.
Can you give an example of the file? |
sorry , very new at this!
|
All times are GMT -5. The time now is 05:31 PM. |