Apache 2.4: First VirtualHost configuration loading for ServerNames of other vhosts

view story

http://serverfault.com – I have a problem with VirtualHosts which Apache 2.4. If I navigate to ty1.dev, I get the site for af2.dev instead If this was Apache 2.2, all I would need to add is NameVirtualHost *:80 but is ignored in 2.4. error.log does not report any problems What have I missed? # httpd-vhosts.conf <VirtualHost *:80> ServerName af2.dev ServerAlias af2.dev ServerAdmin [email protected] DocumentRoot "c:/Users/Adam.Adam-PC/Sites/af2/web" <Directory c:/Users/Adam.Adam-PC/Sites/af2/web> Options Indexes FollowSymLinks MultiViews AllowOverride All Order a (HowTos)