Tony Anecito wrote:
Hi Andre,
Here is an article that talks about subdomain usage. I hope it helps explain
the concept better for all.
http://content.websitegear.com/article/about_subdomain.htm
Tony,
that article is a terrible mixture of truths, half-truths, and downright
bull. The author of that article should at least read the relevant
Internet RFCs, instead of leading unsuspecting users into confusion.
If you are interested in the proper terminology for these things, here
is a good index :
http://www.faqs.org/rfcs/dns-rfcs.html
(start with RFC 1034)
For instance :
".com" is a domain, and it happens to be a "top-level domain".
"ibm.com" and "hp.com" are also domains, and they are both subdomains of
".com".
"eu.ibm.com" and "us.ibm.com" and "eu.hp.com" are all domains; all three
are also sub-domains of ".com", and the first 2 are also sub-domains of
"ibm.com".
"www.eu.ibm.com" may also be a domain; or it may be an alias of
"server1.eu.ibm.com", and it may be a hostname to boot. Or not.
What I am trying to say, is that what you are talking about, are
hostnames and/or hostname aliases, not "subdomains". In an Tomcat
configuration file, you will find tags such as "<Host>" and "<Alias>".
and not "<Subdomain>", and rightly so.
Similarly in Apache httpd you will find "ServerName" and "ServerAlias".
These things have a precise meaning, which subdomain has not.
Using the term "subdomain" in this context is vague, confusing, and
incorrect.
As per RFC 1034 § 3.1 :
A domain is identified by a domain name, and consists of that part of
the domain name space that is at or below the domain name which
specifies the domain. A domain is a subdomain of another domain if it
is contained within that domain. This relationship can be tested by
seeing if the subdomain's name ends with the containing domain's name.
For example, A.B.C.D is a subdomain of B.C.D, C.D, D, and " ".
That's it. That is what "subdomain" means. No more and no less.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org