Question:

Wilcard DNS (similar to hosts file) in Windows without a local dedicated DNS server...?

by  |  earlier

0 LIKES UnLike

I have a local test server running Apache2 with virtual hosting setup correctly. I'd like to set up a system so that *.dev is redirected to my testing server at 192.168.0.4

I know I can do this for each individual site using the hosts file found in C:\WINDOWS\system32\drivers\etc\

Unfortunately the Windows hosts file doesn't work with wildcards!

I don't have a dedicated local DNS server, but I'd like a system that redirects *.dev to my server without the need to open and edit the Windows hosts file every time.

Do you know how this can be achieved?

Thanks in advance.

 Tags:

   Report

1 ANSWERS


  1. Well, if it were me, I would probably just setup a Proxy server for the office. Since you attempting to make a new TOP LEVEL domain type??? I think it is about the ONLY way you will get this to work. (You can use the same "apache2" machine as the proxy!)

    Hope that helps.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions