[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Subdomains pointing to directories [was WAP / Archive Searching [was Anybody experienced problems with All Security 3.0.1-6682?]]
- Subject: Re: [cobalt-users] Subdomains pointing to directories [was WAP / Archive Searching [was Anybody experienced problems with All Security 3.0.1-6682?]]
- From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
- Date: Fri Aug 25 08:59:24 2000
Mark Baker - Cobalt Lists <cobalt@xxxxxxxxxxxxxxxxxx> wrote:
> Any ideas on the subdomain thing?
Couldn't find your post here, but I found this on Cobalt Developers:
> 2. I'd like to create subdomains of a site and use cnames to point to a
> folder of the site (has been done on another server) but the GUI rejects a /
> in the cname record, firstly where can I edit the records to do this, does
> anyone have any experience of it working, can I make it so the GUI will let
> me do it?
Just create DNS records as you normally would. Create the site as you normally
would. Edit httpd.conf and change:
DocumentRoot /home/sites/siteXY/web
to:
DocumentRoot /home/sites/siteXY/web/my_directory
Then restart Apache.
--
Steven Werby {steven-lists@xxxxxxxxxxxx}