Index: [Article Count Order] [Thread]

Date:  Thu, 26 Jun 2008 16:59:30 -0700 (PDT)
From:  Dan Kriwitsky <webhosting (at mark) yahoo.com>
Subject:  [coba-e:13419] Re: Setting default VirtualHost
To:  coba-e (at mark) bluequartz.org
Message-Id:  <915750.12850.qm (at mark) web65608.mail.ac4.yahoo.com>
In-Reply-To:  <VPOP31.5.0l.20080627004321.401.12c3.1.505a6688 (at mark) t1.tec1.net>
X-Mail-Count: 13419




--- On Thu, 6/26/08, bluequartz (at mark) ozin.com <bluequartz (at mark) ozin.com> wrote:

> From: bluequartz (at mark) ozin.com <bluequartz (at mark) ozin.com>
> Subject: [coba-e:13418] Setting default VirtualHost
> To: coba-e (at mark) bluequartz.org
> Date: Thursday, June 26, 2008, 7:43 PM
> I have 1 main and 4 Interface Alias IP addresses on one
> server.
> How do I set the default site for each using the GUI (or
> otherwise).
> At the moment it is defaulting to the first created site (I
> think - unless it is random) for that IP.
> 

You could edit httpd.conf to move the site you want to appear first to the top of the list. I think that would do the trick.

Include /etc/httpd/conf/vhosts/site1
Include /etc/httpd/conf/vhosts/site2
Include /etc/httpd/conf/vhosts/site3
Include /etc/httpd/conf/vhosts/site4


-- 
Dan Kriwitsky