On Wed, Jul 11, 2012 at 12:20 AM, Roland Roland <r_o_l_a_...@hotmail.com>wrote:
> Can anyone help me out in understand how/why virtual host take precedence > on the same ip ? > like i always face an issue where two distinct virtual hosts are set. > the first works, the second doesn't unless i bump it up so it becomes the > first listed in the conf file. > > The requests for each of the domains you host will go to the appropriate virtual host. If you are asking about the ones that don't have a virtual host then the first VirtualHost in the config file is the default one. All explained here: http://httpd.apache.org/docs/2.0/vhosts/name-based.html