I have created a Virtual Host in Wamp server in Windows 7.
Created a Virtual Host as
NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> ServerName localhost DocumentRoot "C:\wamp\www" </VirtualHost> <VirtualHost 127.0.0.1> ServerName ontherocks.dev DocumentRoot "C:\wamp\www\ontherocks" </VirtualHost>
Wamp server is working fine.
But when I opened the link as ontherocks.dev in browser, 404 error was getting.. I think I giving the link format wrong.
Can any one let me know how to give the proper link as per the virtual host created.
Thanks in advance..