[PLUG] Apache Questions

Stephen Young deafphate at hotmail.com
Tue Apr 8 13:50:02 UTC 2003


...
Port 80
...
ServerName www.liquidwire.org
DocumentRoot /var/www/

NameVirtualHost 192.168.1.4

<VirtualHost 192.168.1.4>
    DocumentRoot /www/inc
    ServerName inc.liquidwire.org
</VirtualHost>

<VirtualHost 192.168.1.4>
    DocumentRoot /www/dev
    ServerName dev.liquidwire.org
</VirtualHost>

That is the code I have for the Vhosts in my http.conf.  So aliases can be 
set up in the http.conf that gives the effect that I am looking for ?

Thanks in advance for the assistance.

Stephen Young




>From: Mike De La Mater <mikedela at ipns.com>
>Reply-To: plug at lists.pdxlinux.org
>To: PLUG general list <plug at lists.pdxlinux.org>
>Subject: Re: [PLUG] Apache Questions
>Date: 08 Apr 2003 07:53:52 -0700
>MIME-Version: 1.0
>Received: from mc8-f11.law1.hotmail.com ([65.54.253.147]) by 
>mc8-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 8 Apr 
>2003 08:44:11 -0700
>Received: from drizzle.pdxlinux.org ([198.107.38.238]) by 
>mc8-f11.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 8 Apr 
>2003 08:43:37 -0700
>Received: from localhost([127.0.0.1] helo=drizzle.pdxlinux.org 
>ident=list)by drizzle.pdxlinux.org with esmtp (Exim 3.35 #1 (Debian))id 
>192vFe-0002Eo-00; Tue, 08 Apr 2003 08:43:10 -0700
>Received: from mail.ipns.com ([208.187.227.1])by drizzle.pdxlinux.org with 
>esmtp (Exim 3.35 #1 (Debian))id 192vFE-0002EQ-00for 
><plug at lists.pdxlinux.org>; Tue, 08 Apr 2003 08:42:44 -0700
>Received: from [192.168.10.40] (dsl-228-132.ipns.com [209.210.228.132])by 
>mail.ipns.com (8.12.9/8.12.9) with ESMTP id h38Fgfk2007651for 
><plug at lists.pdxlinux.org>; Tue, 8 Apr 2003 08:42:41 -0700
>X-Message-Info: jl7Vrt/mfsoDVNgfMplM1qI/2W6mkhNk
>In-Reply-To: <F83idc8CADAiKM10KR60001a393 at hotmail.com>
>References: <F83idc8CADAiKM10KR60001a393 at hotmail.com>
>X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Message-Id: 
><1049813633.24337.2.camel at rhws.theplatinumrule.com>
>X-Virus-Scanned: by AMaViS-ng (Milter interface)
>Sender: plug-admin at lists.pdxlinux.org
>Errors-To: plug-admin at lists.pdxlinux.org
>X-BeenThere: plug at lists.pdxlinux.org
>X-Mailman-Version: 2.0.11
>Precedence: bulk
>List-Unsubscribe: 
><http://lists.pdxlinux.org/mailman/listinfo/plug>,<mailto:plug-request at lists.pdxlinux.org?subject=unsubscribe>
>List-Id: General Linux discussion and assistance <plug.lists.pdxlinux.org>
>List-Post: <mailto:plug at lists.pdxlinux.org>
>List-Help: <mailto:plug-request at lists.pdxlinux.org?subject=help>
>List-Subscribe: 
><http://lists.pdxlinux.org/mailman/listinfo/plug>,<mailto:plug-request at lists.pdxlinux.org?subject=subscribe>
>List-Archive: <http://lists.pdxlinux.org/pipermail/plug/>
>X-Original-Date: 08 Apr 2003 07:53:52 -0700
>Return-Path: plug-admin at lists.pdxlinux.org
>X-OriginalArrivalTime: 08 Apr 2003 15:43:38.0474 (UTC) 
>FILETIME=[9F7A84A0:01C2FDE5]
>
>There are actually a few steps to making this work, like making aliases
>to your Ethernet interface that respond to the new IP addresses.
>
>Can you browse the webs directly by IP? Can you ping the IP from
>somewhere else?
>
>More info and the relevant parts of httpd.conf, please.
>
>Mike
>On Mon, 2003-04-07 at 13:38, Stephen Young wrote:
> >
> > I have a domain that I want to add some subdomains or virtual hosts to.  
>The
> > main domain is registered with DNS yet it appears that the subdomains 
>also
> > have to be registered with DNS in order for me to browse to them.  I 
>thought
> > that apache would handle all of the sub domain information.
> >
> > Any one know what setting I could have wrong, I can paste my config for 
>the
> > virtual hosts if that is needed.
> >
> > Thanks for the help,
> >
> > Stephen Young
> >
> > _________________________________________________________________
> > Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> >
> > _______________________________________________
> > PLUG mailing list
> > PLUG at lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
>
>
>
>_______________________________________________
>PLUG mailing list
>PLUG at lists.pdxlinux.org
>http://lists.pdxlinux.org/mailman/listinfo/plug


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail





More information about the PLUG mailing list