LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Machine Naming Question (https://www.linuxquestions.org/questions/linux-general-1/machine-naming-question-408683/)

aratis 01-27-2006 02:37 PM

Machine Naming Question
 
If I am going to run a webserver from my home (register a domain "mylinuxserver.com" and use free dns routing to my ip) and I am want to use CentOS as my linux machine......When I install the CentOS software and it comes time to name my machine, do I name it "mylinuxserver.com"? I have attached a picture of what I am talking about. In the picture it says "localhost.localdomain" that is what I want to know if I should change to "mylinuxserver.com" or not.

http://shots.osdir.com/slideshows/sl...e=272&slide=30

Thanks for any help!

bjuhn 01-27-2006 02:41 PM

it doesn't matter one bit ;)

Jelle 01-27-2006 02:43 PM

If that is the only domain name you want to attach to that server, then yes, use that hostname.

aratis 01-27-2006 02:43 PM

I am asking because I setup a test webserver with the name of "test.testing" and when I visit the apache server sometimes it routes to "test.testing" instead of "myhomelinuxserver.com"?????

aratis 01-27-2006 02:50 PM

Quote:

Originally Posted by Jelle
If that is the only domain name you want to attach to that server, then yes, use that hostname.

So if I was to use this machine for web related purposes then naming it the hostname "myhomelinuxserver.com" is ideal?

Can I use a naming scheme like "www.myhomelinuxserver.com" and then have a machine called "ftp.myhomelinuxserver.com" or have two machines "www.myhomelinuxserver" and "ftp.myhomelinuxserver"?

DanTaylor 01-27-2006 03:33 PM

Name it whatever you feel like naming it.

aratis 01-27-2006 03:37 PM

So there is no standard way? or way you should if you are in a hosting enviroment?

bjuhn 01-27-2006 03:38 PM

that would do.
however, personally, i just call my machines whatever pops up at the time i name it. for example, my primary server is called kafka, and i've got another machine i'm setting up as a backup called inculta
just call your machines what you like ;) www and ftp would be just fine

Brian1 01-27-2006 03:52 PM

That name it is asking for is put /etc/sysconfig/network. Really does not matter, it is used for mostly samba name for a server and some in /etc/hosts file. Not really a DNS item. DNS is different animal than the basic /etc/hosts file. You can look at your /etc/host.conf to see sequence used to resolve a name to IP

Brian1


All times are GMT -5. The time now is 05:36 PM.