Linux - GeneralThis 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.
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.
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.
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"?????
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"?
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.