[Tfug] subdomains
klsmith
tfug@tfug.org
Mon Dec 2 20:08:01 2002
I'm confused. What does one call it when:
- You have a main site - www.mysite.com which is the documentroot
/web/www.mysite.com/
- you want tucson.mysite.com which is documentroot
/web/www.mysite.com/tucson/
I know the apache docs make it appear that a subdomain is a virtual host,
However I've always understood a subdomain to be a name added to the front
of your domain inplace of www.
Keith
---------------------------------------------------------------------------
Keith Smith
(520) 358-2138
http://www.AKScomputers.com
---------------------------------------------------------------------------
----- Original Message -----
From: "Jeffrey Denton" <dentonj@c2i2.com>
To: <tfug@tfug.org>
Sent: Monday, December 02, 2002 7:14 PM
Subject: Re: [Tfug] subdomains
> On Mon, 2 Dec 2002, klsmith wrote:
>
> > <VirtualDomain hobby.mysite.com. 123.123.123.123>
> > DocumentRoot /web/mysite.com/hobby/
> > </VirtualDomain>
>
> There is usually more than one way to do things, but the following works:
>
>
> <VirtualHost 169.244.19.3>
> ServerAdmin dentonj@closeedge.net
> DocumentRoot /some/dir/web
> ServerName dentonj.closeedge.net
> <Directory "/some/dir/web">
> Options Indexes IncludesNoExec
> AllowOverride none
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
> The named.conf entry for the above contains:
>
> zone "closeedge.net" in {
> type master;
> file "pz/closeedge.net";
> };
>
>
> The file pz/closeedge.net contains:
>
> dentonj A 169.244.19.3
>
>
> There are other things in the above files, I just included the important
stuff.
>
> dentonj
>
> _______________________________________________
> tfug mailing list
> tfug@tfug.org
> http://www.tfug.org/mailman/listinfo/tfug
>