WAMP - VirtualHosts - Always seeing wamp start page - why?

Hello,

on my hosts file I have this:


127.0.0.1       localhost

#I don't know what ::1 locahost is doing, so I have comment. 
#I also have uncomment, but it makes no difference on this issue.
#::1             localhost

127.0.0.1 siteTeste1.dev

I have uncomment the following line in httpd.conf file:


# Virtual hosts
Include conf/extra/httpd-vhosts.conf

I have added the following on my httpd-vhosts.conf :


#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
    <VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot "C:\\wamp\\www"
    ServerName localhost
    ErrorLog "logs/localhost-error.log"
    CustomLog "logs/localhost-access.log" common
</VirtualHost>

<VirtualHost *:80>
    [B]DocumentRoot "C:\\wamp\\www\\siteTeste1\\public"[/B]
    ServerName siteTeste1

   #esta linha não deve existir no production enviorment:
   SetEnv APPLICATION_ENV development
</VirtualHost>

I have put an index.php into www\siteTeste1\public saying echo “hello”;

I was expecting to:
type: http://www.siteTeste1.dev
and see:
“Hello”;

Instead, I do:
http://www.siteTeste1.dev
and I see the WAMP index page.

I can get access to my hello by going to:
http://localhost/siteTeste1/public/
or
http://siteTeste1/siteTeste1/public/

But I would like to have the same access just by doing:
http://siteTeste1.dev

What am I missing here?

Thanks in advance,
Márcio

Found the issue:

On httpd-vhosts.conf file I was having:

ServerName siteTeste1

And I should have:

ServerName siteTeste1[B].dev[/B]

Regards,
Márcio