LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2009, 01:37 PM   #1
damteke
LQ Newbie
 
Registered: Feb 2008
Posts: 16

Rep: Reputation: 0
Linux Hostname Question


I am building a webserver / email server, for personal uses, that will be directed to the outside world. My question upon building this server is something I for the first time pondered. I'm wondering if you can make your full hostname just your "domain" name?

Example:

Instead of:

host.server.com

just putting in

server.com

this way it matches your www address? Does it really have to have a 3 part system?

Are there any draw backs to use using your domain name?
 
Old 10-20-2009, 01:41 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
www.domain.com is a service. davesserver.domain.com is a machine name, and they are used in different ways, and what you're asking seems very much unnecessary. to "match" www. you configure whatever server software your using, e.g. apache for http services, to respond to that name. It's inconsequential what the name of the actual tin is.
 
Old 10-20-2009, 02:56 PM   #3
damteke
LQ Newbie
 
Registered: Feb 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks!,, I was just wondering if you would actually run into any problems by creating the host name as just server.com instead of it being something like computer.server.com when it came time to registering it to a web address. It was just a passing thought as I was building my server and I realized, I don't know. As in a Microsoft world if your building a domain controller, you don't have the ability to "not name the server" and just reference the domain as the server. Were as in a Linux world the OS doesn't seem to really care.

But I see what you mean as those two wouldn't have any type of relationship to each other at all since they don't identify with each other in that way. At the time that I wrote the question I didn't consider the angle that the service doesn't even recognize the computer name or internal dns, it just looks for the external ip.
 
Old 10-20-2009, 03:01 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
A DC matters, sure, but even with Windows, IIS can host any website name you wish to throw at it.
 
  


Reply

Tags
domain, hostname, name


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hostname question GUIPenguin Linux - Networking 1 01-18-2005 08:59 PM
Newbie hostname question? ryedunn Mandriva 2 10-09-2004 03:50 AM
hostname question?? rnj Linux - Newbie 1 10-08-2004 07:09 AM
hostname question wendallsan Linux - Networking 4 10-16-2003 04:46 PM
Hostname Question darkfnord Linux - Newbie 1 09-04-2003 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:11 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