Virtual hosting is a method that servers such as web servers use to host more than one domain name on the same computer, sometimes on the same IP address.
Virtual web hosting is one of the most popular hosting options available at the moment—probably because it is one of the most cost effective options on the market. Also known as shared web hosting, virtual hosting allows a website owner to have a site hosted on a web server that is shared with other websites. In simple terms, the virtual hosting company's server will allocate out hosting services and bandwidth to more than one website. Virtual web hosting is a cheaper hosting option because you won't have to pay for a dedicated server to host just your website.
Virtual web hosting is a good solution for small- to medium-sized )(and even some larger) websites that aren't constantly being visited or that have reasonable bandwidth needs.(http://en.wikipedia.org/wiki/Virtual_host)
Go to :
and open file hosts
then edit httpd-vhosts.conf, in my instalation place in C:\xampp\apache\conf\extra
became like this