Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 15:49:25 -0500
From:      "Stephen Hoover" <shooverfbn@442spot.com>
To:        "Stephen Hovey" <shovey@buffnet.net>, <mark@outlander.us>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: Apache virtual host question
Message-ID:  <MOEJLOFPGBFEEOIFFMLKIEFMDCAA.shooverfbn@442spot.com>
In-Reply-To: <Pine.BSF.4.05.10208081628480.25980-100000@buffnet11.buffnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the quick reply guys!

Stephen Hoover
Dallas, Texas


> Subject: Re: Apache virtual host question
>
> If there is only 1 IP address then by default they all have to
> be virtual
> sites since there is no second IP to differenciate with.
>
> With apache though in name based virtual, any unknown name is given the
> pages of the very first virtualhost defined.. so our very first one on
> each server is a "You typoed" kinda message page.
>
> And each valid virtual - like for pimple.com we define the full correct
> name as www.pimple.com with serveraliases of pimple.com *.pimple.com to
> catch it all..
>
> On Thu, 8 Aug 2002, Stephen Hoover wrote:
>
> > Sorry this may not be the most appropriate forum for this
> posting. I am
> > just hoping with the vast knowledge of this list someone
> will know the
> > answer.
> >
> > If I have only 1 IP address on the computer and do name based virtual
> > hosting, do I have to make ALL the websites virtual? I added
> this to my
> > httpd.conf
> >
> > NameVirtualHost *
> >
> >     <VirtualHost *>
> >     ServerName www.lsmsc.com
> >     DocumentRoot /usr/local/www/data/lsmsc
> >     </VirtualHost>
> >
> > After I did that I was only able to pull up that website. The main
> > servername quit responding (well it started resolving to the other
> > document root). I added the main servername as a virtual host and it
> > started working again. I just want to make I didn't do something
> > incorrect.
> >
> > Thanks!
> > Stephen Hoover
> > Dallas, Texas
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MOEJLOFPGBFEEOIFFMLKIEFMDCAA.shooverfbn>