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

[cobalt-users] testing virtual domain before cutover



> Message: 8
> From: Carrie Bartkowiak <ravencarrie@xxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Date: Wed, 11 Jul 2001 18:11:51 -0400
> Subject: Re: [cobalt-users] testing virtual domain before cutover
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
> 
> On Wed, 11 Jul 2001 16:12:28 -0500 (EST), cobalt@xxxxxxxxxxxxxxxx 
> wrote:
> >>Does anyone
> >>know another way to test new virtuals before you point DNS 
> to the raq?
> 
> When I was off-list for a while I sent through a hack for this 
> courtesy of Reverend Payne. It involves adding a simple alias line to 
> your main site's <Directory> block in httpd.conf, and you can then 
> access any site via www.yourmainsite.com/sites/www.thenewsite.com
> 
> Do a search in the archives for something like alias + Rev Payne or 
> Leonard
> 
> --
> Carrie Bartkowiak, ravencarrie@xxxxxxxx on 07/11/2001

Actually I just posted a title "Two Domains, Two Emails, same site"
http://list.cobalt.com/pipermail/cobalt-users/2001-July/047557.html

I set up a sub domain to point to my /home/sites directory

DocumentRoot /home/sites

So I could then just type my sub domain name in my browser and
see any site.

Example:

http://temp.mainsite.com/www.newsite.com/web/

This link would bring up the new site, for viewing purposes.

Works great!

Joe I think!