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 |
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.
|
 |
01-27-2006, 02:37 PM
|
#1
|
Member
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48
Rep:
|
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!
|
|
|
01-27-2006, 02:41 PM
|
#2
|
LQ Newbie
Registered: Jan 2005
Distribution: gentoo, slackware, fedora core 4
Posts: 16
Rep:
|
it doesn't matter one bit 
|
|
|
01-27-2006, 02:43 PM
|
#3
|
Member
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79
Rep:
|
If that is the only domain name you want to attach to that server, then yes, use that hostname.
|
|
|
01-27-2006, 02:43 PM
|
#4
|
Member
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48
Original Poster
Rep:
|
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"?????
|
|
|
01-27-2006, 02:50 PM
|
#5
|
Member
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48
Original Poster
Rep:
|
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"?
|
|
|
01-27-2006, 03:33 PM
|
#6
|
Member
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265
Rep:
|
Name it whatever you feel like naming it.
|
|
|
01-27-2006, 03:37 PM
|
#7
|
Member
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48
Original Poster
Rep:
|
So there is no standard way? or way you should if you are in a hosting enviroment?
|
|
|
01-27-2006, 03:38 PM
|
#8
|
LQ Newbie
Registered: Jan 2005
Distribution: gentoo, slackware, fedora core 4
Posts: 16
Rep:
|
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
|
|
|
01-27-2006, 03:52 PM
|
#9
|
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:
|
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 12:46 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
|
|