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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top