Virtual Hosts on XAMPP
Find C:\xampp\apache\conf\extra\httpd-vhosts.conf
// Apache below 2.4
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/testsite"
ServerName testsite.dev
ServerAlias www.testsite.dev
<Directory "c:/xampp/htdocs/testsite">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
// Apache 2.4 +
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/testsite"
ServerName testsite.dev
ServerAlias www.testsite.dev
<Directory "c:/xampp/htdocs/testsite">
AllowOverride All
Require all Granted
</Directory>
</VirtualHost>