I do not understand why you are trying to specify diff ports for diff projects ...
you can write something like this in httpd-vhosts.conf:
<VirtualHost 127.0.0.1> DocumentRoot "D:/wamp/www/project/" # ServerName project[1 ... n].local or domain.name.com ServerName project1.local </VirtualHost>
then you need to edit the hosts file from C: \ Windows \ System32 \ drivers \ etc to match your IP address in your local domain
restart apache and that's it
a valid url should look like this: http: //project1.local - where you will have forlder project1; to have multiple projects, you can set as many VistualHosts directives that you need greetings,
source share