Question: how to create multiple virtual host in xampp windows 7?
Answer: Create folder in xampp\htdocs folder. ... 
Open httpd-vhosts.conf file under xampp\apache\conf\extra.
Add virtual hosts for test1 and test2.
Open hosts file under C:\Windows\System32\drivers\etc and add host for test1 and test2 and save hosts file as a administrator.
Restart Xampp.