catch all route in windows hosts file

  • Thread starter Thread starter Tarscher
  • Start date Start date
T

Tarscher

Hi all,

is it possible to make a catch all route in the windows hosts file?

I tried something like
127.0.0.1 *.site.local

but this doesn't seem to work.

Someone has an idea on how to solve this?

Many thanks in advance
Stijn
 
Tarscher said:
Hi all,

is it possible to make a catch all route in the windows hosts file?

I tried something like
127.0.0.1 *.site.local

but this doesn't seem to work.

Someone has an idea on how to solve this?

Many thanks in advance
Stijn

No - a hosts file has to specify ...hosts. No wildcards. What is it you're
trying to accomplish?
 
Hi all,

is it possible to make a catch all route in the windows hosts file?

I tried something like
127.0.0.1 *.site.local

but this doesn't seem to work.

Someone has an idea on how to solve this?

Many thanks in advance
Stijn

Stijn,

The Hosts file is for local name resolution. One entry = one name = one
address. Unlike DNS, local names have no structure. "*.site.local" is a non
valid computer name, not a matching pattern.
<http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resolution-on.html>
http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resolution-on.html
 
No - a hosts file has to specify ...hosts. No wildcards. What is it you're
trying to accomplish?

I want to use it for some local webdevelopment. The * in
*.domain.local would be the username
 
Tarscher said:
I want to use it for some local webdevelopment. The * in
*.domain.local would be the username

Hmm - well, as mentioned, the hosts file won't work; I'm not a web developer
so I can't suggest any other options, sorry.
 
Back
Top