LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-27-2006, 02:37 PM   #1
aratis
Member
 
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48

Rep: Reputation: 15
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!
 
Old 01-27-2006, 02:41 PM   #2
bjuhn
LQ Newbie
 
Registered: Jan 2005
Distribution: gentoo, slackware, fedora core 4
Posts: 16

Rep: Reputation: 0
it doesn't matter one bit
 
Old 01-27-2006, 02:43 PM   #3
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
If that is the only domain name you want to attach to that server, then yes, use that hostname.
 
Old 01-27-2006, 02:43 PM   #4
aratis
Member
 
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48

Original Poster
Rep: Reputation: 15
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"?????
 
Old 01-27-2006, 02:50 PM   #5
aratis
Member
 
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48

Original Poster
Rep: Reputation: 15
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"?
 
Old 01-27-2006, 03:33 PM   #6
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
Name it whatever you feel like naming it.
 
Old 01-27-2006, 03:37 PM   #7
aratis
Member
 
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48

Original Poster
Rep: Reputation: 15
So there is no standard way? or way you should if you are in a hosting enviroment?
 
Old 01-27-2006, 03:38 PM   #8
bjuhn
LQ Newbie
 
Registered: Jan 2005
Distribution: gentoo, slackware, fedora core 4
Posts: 16

Rep: Reputation: 0
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
 
Old 01-27-2006, 03:52 PM   #9
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
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
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPd and naming Quick Question Kedelfor Linux - Software 1 08-19-2004 02:01 PM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM
A small question in naming convention mnguyen Linux - Software 1 04-17-2004 03:14 AM
Naming the Machine? Rv5 Linux - General 2 03-06-2004 12:40 PM
Devfs naming - quick question. JoeLinux Linux - General 3 04-03-2002 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:31 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
Open Source Consulting | Domain Registration