Received: (from majordom@localhost) by hyperreal.com (8.8.5/8.8.5) id QAA22604; Sun, 8 Jun 1997 16:37:15 -0700 (PDT) Received: from pool.pipex.net (pool.pipex.net [158.43.128.24]) by hyperreal.com (8.8.5/8.8.5) with SMTP id QAA22597 for ; Sun, 8 Jun 1997 16:37:11 -0700 (PDT) Received: (qmail 9765 invoked from smtpd); 8 Jun 1997 23:37:08 -0000 Received: from imdb.demon.co.uk (HELO robh.imdb.com) (194.222.68.23) by pool.pipex.net with SMTP; 8 Jun 1997 23:37:08 -0000 Date: Mon, 9 Jun 1997 00:36:48 +0100 (BST) From: Rob Hartill X-Sender: robh@localhost To: new-httpd@apache.org Subject: Re: Vhosts In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On Sun, 8 Jun 1997, Dean Gaudet wrote: > What is your global ServerName, and how does it correspond to the ip > address that foo.imdb.com and us.imdb.com resolve to? both come out of round-robin DNS for multiple machines. I've got servers named usN.imdb.com (N=4..9) which answer to 'us.imdb.com' and (for a few more hours today) as 'conair.imdb.com'. Using ServerAlias helped a lot - stopping other aliases defaulting to one of the vhosts. Other things I've now done.. moved "hosts" above "bind" in host.conf and added a mapping from current IP address to the shared "us.imdb.com" name. Previously bind was first and only usN.imdb.com mapped to the IP address. I think one of the usN machines would almost always start up thinking it was the vhost machine becuase it was its turn in the r-r-dns (they all restarted together, so one had to be 'it'). Any tips on managing these things would be appreciated. -- Rob Hartill Internet Movie Database (Ltd) http://www.moviedatabase.com/ .. a site for sore eyes.