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

Re: [cobalt-users] include.conf questions (httpd.conf)



On Tue, 09 Apr 2002, Paul Mullett wrote:
> Hello again,
> 
> Forget the .htaccess stuff, I've been looking at the other ways of doing
> this, namely:
> http://list.cobalt.com/pipermail/cobalt-users/2000-October/024470.html
> 
> The situation I have is that I have www.domain.com www.domain1.com and
> www.domain2.com and I want www.domain1.com to go to www.domain.com/domain1
> and www.domain2.com point to www.domain.com/domain2 .
> 
> Using the above method of an extra include.conf included from httpd.conf I
> can make 1 extra domain work (eg www.domain1.com now points to
> www.domain.com/domain1 successfully)  but I cannot seem to be able to add
> another second domain.  I have tried adding in an include2.conf file, that
> doesn't seem to work, and I've also tried adding a second entry to
> include.conf, and that appears to fail too.
> 

If your include.conf has <VirtualHost> containers then just adding another
<VirtualHost>  conatiner with a different whatever/domain2 in the DocumentRoot
should work.
Did you add 'a' records in DNS for both?

 --
Gerald Waugh
http://www.frontstreetnetworks.com
Front Street Networks LLC - 203-785-0699
229 Front Street, Ste. #C, New Haven CT, 06513-3203