I'm using Win7 and all my asp.net applications are running at port 80
I've WAMP installed at c:\wamp and i've my php project folder under c:\wamp\www\ as proj1,proj2 etc.,
Now i tried to create virtual host with below steps
1) edited 'hosts' file and added below
127.0.0.1:9091 testsite1.mymachine.com
2) Opened the file "httpd.conf" at "C:/wamp/bin/apache/Apache2.2.22/conf/" and uncommented the line "Include conf/extra/httpd-vhosts.conf".
3) Opened the file "httpd.vhosts.conf" at "C:/wamp/bin/apache/Apache2.2.22/conf/extra" and added the below
<Directory C:/wamp/www/proj1>
Order Deny,Allow
Allow from all
</Directory>
after the above code added the below
<VirtualHost *:9091>
DocumentRoot "C:/wamp/www/proj1"
ServerName testsite1.mymachine.com
</VirtualHost>
4) Saved all the above edited files from step 1 through step 3, restarted the wamp server services.
But, i'm unable to access my proj1 using "testsite1.mymachine.com". did i missed anything ? Also please take note by using "http://localhost:8081/" i'm able to see wampserver - server configuration page.
Many Thanks