New Zealand ADSL Mailing List


Re: Hosting more than 1 web site on adsl -- fixed

From: Chris Foster <chris_at_proweb.co.nz>
Date: Mon, 10 Apr 2000 10:10:01 +1200
Message-ID: <000f01bfa270$5a20d040$0100a8c0@proweb.co.nz>

Thanks everyone for your ideas, suggestions and solutions.
I have now fixed the problem and now working ok.
A special thanks to Dan Langille for his exceptional help
via e-mail and his web site.

Chris
----- Original Message -----
From: Dan Langille <dan@freebsddiary.org>
To: Chris Foster <chris@proweb.co.nz>
Cc: <adsl@freebsddiary.cx>
Sent: Sunday, 9 April 2000 22:17
Subject: Re: Hosting more than 1 web site on adsl

> On 9 Apr 00, at 21:40, Chris Foster wrote:
>
> > To add to my message before it that my main goal is to have my two
subdomain
> > to resolve to different web sites. Currently the server thinks there is
> > only one.
> > I am using the virtual host directive.
> > Because I have only 1 ip address I am using name-based virtual host.
> > This is my configuration that I have at the moment:
> >
> > NameVirtualHost 123.47.67.89
> >
> > <VirtualHost 123.47.67.89 www.proweb.co.nz>
>
> try <VirtualHost 123.47.67.89>
>
> > ServerAdmin user@some_domain.co.nz
> > DocumentRoot /www/some_user/htdocs
>
> ummm, see below
>
> > ServerName www.proweb.co.nz
>
> This website will be browsed to at http://www.proweb.co.nz
>
> > ScriptAlias /cgi-bin/ "/www/some_user/htdocs/cgi-bin/"
> > ErrorLog /www/some_user/logs/some_domain-error_log
> > CustomLog /www/some_user/logs/some_domain-access_log
> > </VirtualHost>
> >
> > <VirtualHost 123.45.67.89>
> > ServerAdmin user@some_domain.co.nz
> > DocumentRoot /www/some_user/htdocs
>
> You should have a different document root here. Otherwise, both websites
> present the same documents.
>
>
> > ServerName proprint.proweb.co.nz
>
> This website will be browsed to at http://proprint.proweb.co.nz
>
>
> > ScriptAlias /cgi-bin/ "/www/some_user/htdocs/cgi-bin/"
> > ErrorLog /www/some_user/logs/some_domain-error_log
> > CustomLog /www/some_user/logs/some_domain-access_log
> > </VirtualHost>
> --
> Dan Langille - DVL Software Limited [I'm looking for more work]
> http://www.dvl-software.com/ | http://www.unixathome.org/
> http://www.racingsystem.com/ | http://www.freebsddiary.org/
>
> To unsubscribe: send mail to majordomo@freebsddiary.cx
> with "unsubscribe adsl" in the body of the message
>

To unsubscribe: send mail to majordomo@freebsddiary.cx
with "unsubscribe adsl" in the body of the message
Received on Mon Apr 10 10:10:16 2000


This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:03 2006 EST