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

Re: [cobalt-users] newbe question



Ed wrote:

> How can I have testsite.ohbaptist.org go to www.ohbaptist.org/~testsite ?

First create an A record in dns, for "testsite.ohbaptist.org" pointing
to the same IP# as www.ohbaptist.org.

The create a new site on your RaQ for testsite.ohbaptist.org.

Then manually edit /etc/httpd/conf/httpd.conf, first finding the virtual
host block for the testsite.ohbaptist.org site, changing the document
root line as follows:

DocumentRoot /home/sites/site22/web/testsite

where "site22" should be replaced by the site number of
"www.ohbaptist.org".

Be sure to restart apache when you're done.  You can do this from the
"services" page of your gui interface, but NOT from the site interface;
if you do it at the site interface, your changes will disappear into
thin area <wry grin>.

Which leaves only one queston:  how do you find out the site name of
www.ohbaptist.org.

Here's how I do it:

$ cd /home/sites/www.ohbaptist.org/web
$ ls -al

Each file returned should have the sitenumber appear as the groupname.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205