i've setup WAMP server , it's working fine I quickly attempted virtual host by using it , it does not work

Within the httpd.conf file i added wrinkles

Listen 8081
Listen 8082
Include conf/extra/httpd-vhosts.conf

As well as in the httpd-vhosts.conf

NameVirtualHost *:80
Listen 8081 
Listen 8082 

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.localhost
    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost"
    ServerName dummy-host.localhost
    ServerAlias www.dummy-host.localhost
    ErrorLog "logs/dummy-host.localhost-error.log"
    CustomLog "logs/dummy-host.localhost-access.log" common

<VirtualHost localhost:8081>
    ServerName localhost:8081
    DocumentRoot "D:/wamp/www/project/"
    Alias /index.html D:/wamp/www/project/index.php

<VirtualHost localhost:8082>
    ServerName localhost:8082
    DocumentRoot "D:/wamp/www/project1/"
    Alias /index.html D:/wamp/www/project1/index.php

i dont realise why you attempt to suggest diff ports to diff projects ...

you are able to write in httpd-vhosts.conf something similar to this:

    DocumentRoot "D:/wamp/www/project/"
    # ServerName project[1 ... n].local or domain.name.com 
    ServerName project1.local

then you've to edit your hosts file from C:WindowsSystem32driversetc to be able to suit your IP for your local domain

restart apache and that is all

the valid url ought to be such as this: http://project1.local - in which you will hve the project1 forlder to be able to have multiple projects you are able to set as numerous VistualHosts directives you'll need cheers,