[Xitami] VHost CNAME path question
Brian {Hamilton Kelly}
xitami@lists.xitami.org
Tue, 26 Oct 2004 08:10:39 +0100 (BST)
In message <5.1.1.6.0.20041025235854.00b2dd20@mail.mrjdesign.com>
admin writes:
> Ok so here's a somewhat stupid question or maybe I just need more sleep.
>
> Assume: the base host domain name is MYDOMAIN.COM
>
> Now by default all hits on www.mydomain.com, mydomain.com and
> anything.mydomain.com will hit the base host.
Through what mechanism does this "default" occur? Can you show us the
DNS entries for this domain of yours (obfuscated as above if you insist,
although better the real ones). [Use
nslookup - ns.dns.provider.com
and then the
ls -d > some.file mydomain.com
command to list ALL the RRs for mydomain.com]
UNLESS there ARE DNS entries for the root domain, AND www.mydomain.com,
AND for anything.mydomain.com (in which, if anything is really meant to
be anything, then you'll need an entry for *.mydomain.com), then there is
by no means any "default" that routes the traffic to any one particular
server.
Or did you know all this, and were just being somewhat vague in your
reportage?
--
Brian {Hamilton Kelly} bhk@dsl.co.uk
"I don't use Linux. I prefer to use an OS supported by a large multi-
national vendor, with a good office suite, excellent network/internet
software and decent hardware support."