C:xamppapacheconfextrahttpd-vhosts.conf
Add following code in end.
<VirtualHost *>
DocumentRoot “D:wwwfoldername”
ServerName local.sitename
<Directory “D:wwwfoldername”>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
C:WINDOWSsystem32driversetchosts
127.0.0.1 local.newsite