I've setup two vhosts file with my latest install of WAMPP, those domains are: example-sites.dev localhost
I added both these to my local hosts file: 127.0.0.1 localhost 127.0.0.1 example-sites.dev
And I created both the VHOST files on the /wampp/bin/apache/apache2.2.22/conf/extra/httpd-vhosts.conf: <VirtualHost *:80> DocumentRoot "c:/wamp/www" ServerName localhost ServerAlias localhost <directory "c:/wamp/www"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </directory> ErrorLog "logs/localhost-error.log" CustomLog "logs/localhost-access.log" common </VirtualHost>
<VirtualHost *:80> DocumentRoot "c:/wamp/www/universal_portal/dev/wordpress" ServerName example-sites.dev ServerAlias *.example-sites.dev <directory "c:/wamp/www/universal_portal/dev/wordpress"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </directory> ErrorLog "logs/example-sites-dev-error.log" CustomLog "logs/example-sites-dev-access.log" common </VirtualHost>
I restarted my server and localhost works just fine, but my example-sites.dev does not resolve in GOOGLE CHROME only. It works just fine in both Internet Explorer and FireFox, but does not resolve in Chrome...?
So I opened up CMD and did a ping and nslookup and ping returns the IP address, but nslookup can't resolve the domain example-sites.dev
So I am a bit confused on why all my other browsers will pick up the VHOSTS designation, but Google Chrome will not. I have no Proxy settings set in Chrome, so it's not that.
If anyone has any insight, I'm keen to hear some thoughts/ideas.