Anyhow, here are the steps to setup virtual hosting on XAMPP and window.
1. Install xampp on windows machine. Easy Breezy... just follow the installation steps.
2. then go to go to C:\xampp\apache\conf\extra\httpd-vhost.conf
3. add the following codes for setting up the virtual hosting:
/*******************************************************************
## client site
ServerName testclient.com
ServerAdmin testclient@localhost
DocumentRoot "C:\xampp\htdocs\clients\testclient"
********************************************************************/
4. Almost there... next, go to C:\WINDOWS\system32\drivers\etc\hosts
and define redirect to the virtual host you setup using
127.0.0.1 testclient.com
And voila! You're done. repeat the process for multiple sites.