Don't think you can use * in hosts file.
DNS zone file however support * in the record
--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/
"Josema" <Josema.TakeThisOut@discussions.microsoft.com> wrote in message
news:4F3078D0-1A9B-4AC9-AB0F-C2F8D44174EB@microsoft.com...
> Hi to all,
>
> I would like to know how to configure the hosts file (if its possible) or
> IIS headers, to have all the subdomains of a domain, pointing to the same
> application.
>
> I try to use the wildcard * in the hosts file but the meaning of the
> wildcard in the hosts file is literal.
>
> Could you help me with this problem?
> Thanks a lot.
> Kind Regards.
> Josema.