[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Pointing Subdomain to Directory (was Sub Domain Question)



<Cmopollux@xxxxxxx> wrote:
> Is there a way to point a sub domain to a page?  Foe example
> http://somthing.domain.com would go to http://domain.com/page.html

You can create the site then edit httpd.conf to change the line:

DocumentRoot /home/sites/siteX/web

to:

DocumentRoot /home/sites/siteX/web/directory

I've never tried pointing the DocumentRoot to a page instead of a directory.  I
don't think that will work.  Give it a try or look up DocumentRoot on apache.org
to find out more.

Steven Werby {steven-lists@xxxxxxxxxxxx}