Wildcard in HOSTS file?

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

Is it possible to wildcard a domain in a hosts file so that all subdomains
are pointed to a specific IP?

ie


192.168.0.1 bob.com
192.168.0.1 www.bob.com
192.168.0.1 another.bob.com


is replaced by

192.168.0.1 *.bob.com


????
 

Jerry

Distinguished
Dec 31, 2007
1,812
0
19,780
Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

No

"Grahammer" <dont.spam@me.here> wrote in message
news:ezSeflbzEHA.1260@TK2MSFTNGP12.phx.gbl...
> Is it possible to wildcard a domain in a hosts file so that all subdomains
> are pointed to a specific IP?
>
> ie
>
>
> 192.168.0.1 bob.com
> 192.168.0.1 www.bob.com
> 192.168.0.1 another.bob.com
>
>
> is replaced by
>
> 192.168.0.1 *.bob.com
>
>
> ????
>
>
 

iloahz

Honorable
Mar 5, 2012
1
0
10,510
yes, AngryHosts can just meet your needs. see angryhosts.com

Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

Is it possible to wildcard a domain in a hosts file so that all subdomains
are pointed to a specific IP?

ie


192.168.0.1 bob.com
192.168.0.1 www.bob.com
192.168.0.1 another.bob.com


is replaced by

192.168.0.1 *.bob.com


????