No subject


Thu Nov 17 10:58:26 NZDT 2005


the following example.


More complicated name-based vhosts

     Setup 1: The server machine has one IP address (111.22.33.44) which
resolves to the name server.domain.tld. There are two
     aliases (CNAMEs) www.domain.tld and www.sub.domain.tld for the address
111.22.33.44.

     Server configuration:

              ...
              Port 80
              ServerName server.domain.tld

              NameVirtualHost 111.22.33.44

              <VirtualHost 111.22.33.44>
              DocumentRoot /www/domain
              ServerName www.domain.tld
              ...
              </VirtualHost>

              <VirtualHost 111.22.33.44>
              DocumentRoot /www/subdomain
              ServerName www.sub.domain.tld
              ...
              </VirtualHost>


          Apart from localhost there are no unspecified addresses/ports,
therefore the main server only serves localhost requests.
          Due to the fact that www.domain.tld has the highest priority it can
be seen as the default or primary server.




More information about the Koha mailing list