Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-04-2004, 11:14 AM
|
#1
|
Member
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860
Rep:
|
localhost.localdomain
Does it matter what I write for localhost.localdomain if the computer isn't a server?
What ramifications does this have? If the computers have different domain names can they not see each other, or something like that?
Thanks,
|
|
|
12-04-2004, 11:22 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
If your only going to use it as a desktop type system, don't worry about a domain name. localdomain will work just fine. If you have multiple workstations though, setting a hostname helps identify that workstation. A hostname can be anything you want to call that machine.
|
|
|
12-04-2004, 03:50 PM
|
#3
|
Member
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860
Original Poster
Rep:
|
so if I have more than one computer on 1 router -> hostname identifies each. Does domain affect if they can see each other?
thanks for the response so far!
|
|
|
12-04-2004, 04:38 PM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by DJOtaku
so if I have more than one computer on 1 router -> hostname identifies each. Does domain affect if they can see each other?
thanks for the response so far!
|
Not necessarily. I have 8 machines myself, each have a hostname, I put the corresponding hostname with IP in my /etc/hosts file so I don't have to type the IP to access each one but each machine is recognized by its hostname instead. It would get very confusing if each computer was named localhost..
But again, if you only have this one machine, it doesn't hurt to keep it like it is now.
|
|
|
12-07-2004, 09:53 PM
|
#5
|
Member
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860
Original Poster
Rep:
|
the trick you did with the hosts file to "name" the computers, can that be done with the network gui that comes up with
neat
There's a tab in there with host name and alias. I'm not sure if Fedora has a different gui than Slackware or Solaris. If it's too complicated, what did you do to the hosts file?
Thanks,
|
|
|
All times are GMT -5. The time now is 05:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|