Larry,

The "www" portion, as well as the "sales" portion, of the domain you
show in your question are called the "host" names.  "Www.domain.com"
can, and often does, point to a different IP address from, for example,
"mail.domain.com".  This allows traffic to be routed to different
programs or servers, so that the traffic can be handled appropriately.

Basically, you CAN enter into your browser "http://mail.domain.com";.  If
you did, you will, most likely, end up with an error, since that server
actually only handles email traffic, not web traffic.  Different ports
(i.e., 80 for http traffic, 21 for FTP traffic, etc.) are being answered
by those different servers.  Therefore, a port 80 request (i.e.,
http://) will not be answered properly if sent to an email server (i.e.,
mail.domain.com).

You can name a host anything you like (within the boundaries of Internet
naming conventions.. i.e., no spaces or punctuation - save the hyphen
(-) or the underscore (_)).  You could, for example, have
"this.is.my.server.at.my.domain.com".  While this would turn into a
NIGHTMARE for DNS entry.. It could be done.  The only requirement is
that you have all the information properly setup in the DNS server that
services "domain.com".

Hope this helps.  Is kinda lengthy, but thought it might help you
understand.  Basically, in your exampe... "www.domain.com" could point
to "123.123.123.111", while "sales.domain.com" could point to
"123.123.123.222".  They COULD both be web servers.. Or not.  Just
depends on the type of traffic being sent to them... i.e., what they are
being used for.

Take care...


Lee Fuller
Chief Technical Officer
PrimeDNA Corporation / AAA Web Hosting Corporation
"We ARE the net."
http://www.aaawebhosting.com



> -----Original Message-----
> From: Larry Juncker [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, October 29, 2001 12:04 PM
> To: CF-Talk
> Subject: OT: Subdomain of a domain
> 
> 
> Apologies for the OT but I am curious.
> 
> I see a lot of times where someone has an address like 
> www.mydomain.com and along with it, you see > reference to 
> sales.mydomain.com
> 
> My question is, do these people have two IP's associated with 
> this domain or is this an entry in DNS that I am missing 
> somewhere on how to set up?
> 
> Just curious.....
> 
> Thanks and again apologies for the OT
> 
> Larry Juncker
> Senior Cold Fusion Developer
> Heartland Communications Group, Inc. 
> [EMAIL PROTECTED] 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to