I just spent several hours trying to find out why my virtual domains were redirecting to https on XAMPP when just last week everything was fine. I had experimented with doing a security certificate for my local development sites, so I thought maybe that had something to do with it. However, I backed out all my changes last week and so there shouldn’t have been any issues. I was searching everywhere with XAMPP thinking I had broken something.
It is actually very easy to create a virtual domain. It only requires two files to be modified and you don’t even have to store your site’s files within the XAMPP directory structure.
UPDATE: do NOT use .dev as the virtual domain. Read this for more information – Chrome AND Firefox Now Redirect .dev Domains to HTTPS.