[users@httpd] Re: Server default vhost

2011-11-04 Thread Helmut Schneider
Matus UHLAR - fantomas wrote: > >>> I unsuccessfully tried numerous variations of NameVirtualHost, > >>> VirtualHost and ServerName but apache either serves www.domain.tld > >>> or 192.168.0.1 for all requests. > > > Steve Swift wrote: > > > Once you have your Virtualhosts setup, the first one be

Re: [users@httpd] Re: Server default vhost

2011-11-04 Thread Matus UHLAR - fantomas
> I unsuccessfully tried numerous variations of NameVirtualHost, > VirtualHost and ServerName but apache either serves www.domain.tld > or 192.168.0.1 for all requests. Steve Swift wrote: Once you have your Virtualhosts setup, the first one becomes the default for any requests which do not mat

Re: [users@httpd] Re: Server default vhost

2011-11-04 Thread Lester Caine
Helmut Schneider wrote: But - bothwww.domain.tld and 192.168.0.1 match the same vhost (at least what I observed). I want both to match different vhosts. Since what you are using is a private IP address, that may be getting in the way of your 'testing'? I have several sites all 'routed' my l

[users@httpd] Re: Server default vhost

2011-11-04 Thread Helmut Schneider
Steve Swift wrote: > > let's say I have a webserver named www.domain.tld at IP 192.168.0.1. > > That server serves http://www.domain.tld. > > > > Now I want to have another VHOST serving http://192.168.0.1 (the > > DEFAULT VHOST e.g. to serve /server-status because > > http://www.domain.tld requi