httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matt farey <>
Subject Re: [users@httpd] setting up virtual hosting
Date Thu, 22 Feb 2007 14:06:09 GMT

Sam Carleton wrote:
> On 2/22/07, Boyle Owen <> wrote:
>> > I am back at it and it simply is NOT working.  No matter what I do, I
>> > cannot get to the default web site.
>> It is not clear what you mean by "default web site". Once you start
>> using VHs, the "default web site" becomes the *first* VH in the config.
>> So if you hit the server using IP address only (no hostname) you should
>> get the *first* VH. Is this what happens? If not, what site *do* you
>> get?
> Owen,
> I get what I consider the secondary site.  Which is exactly why I
> asked the following question:
>> > In years past (like five years ago) I had been successful in doing
>> thing,
>> > but that was back when there was only one httpd.conf file.  This SuSE
>> > setup has a ton of files.  Is there some way I can make apache tell me
>> > what it sees as the configuration?
> Is there any way for me to get apache to display the config, the way
> it sees it?  I am guessing I have something backwards so that what I
> want as the default site is getting consumed after the site I want as
> the secondary.
> Sam

I should add that the setup before assumed you used a router with port
forwarding to get requests to your server from the internet, not a
modem, and that you have a static public IP of, if you dont
have a static IP or if your server is bound to the public IP, then just
set apache to listen on that IP too using an extra
Listen statement, and change the
<VirtualHost *:80>


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message