Wildcard in HOSTS file?

  • Thread starter Thread starter Grahammer
  • Start date Start date
G

Grahammer

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


????
 

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