I cannot figure out why my virtual hosts keep going to the XAMPP default home page and not the DocumentRoot I setup in the vhosts file. I have cleared cache repeatedly. Tried different browsers. No luck. The virtual host "works", when I type in my domain.dev it doesn't give errors - it just goes to the dang XAMPP home page.
My httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /Applications/XAMPP/xamppfiles/htdocs
ServerName localhost
</VirtualHost>
<Directory "/sites/projectname">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /sites/projectname
ServerName projectname
</VirtualHost>