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 local home machine http://lsces.co.uk, most are just extended domains, but the same rules apply. Each separate domain name has it's own

<VirtualHost *:80>
ServerName = fbwiki.lsces.co.uk

for example routes http://fbwiki.lsces.co.uk to a different setup internally

But the magic bit is

NameVirtualHost *:80

in httpd.conf

I then have a line
Include /etc/apache2/vhost.d/*.conf

and each virtual host has it's own xxx.conf file in the vhost.d directory

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to