PDA

View Full Version : How to set up a wildcard DNS


sebi123
08-14-2009, 05:38 PM
I like to use a wildcard DNS entry for my localhost. The reason? If I want to establish a new virtual domain in Apache for testing, I need only go in and create my own arbitrary virtual domain (like railsdev.localhost), and the DNS side will "just work." On Linux machines, you can just edit /***/hosts and put a *.localhost entry in. This didn't appear to work on OS X, so I instead enabled a local nameserver and went down that path.

I gathered hints from various parts of the net when it came to enabling DNS on OS X Tiger, and I think I have found the most efficient way to do that.
__________________________________
PROFIT FROM REAL ESTATE TODAY (http://www.profitfromrealestatetoday.com)
cloud computing directory (http://www.silvermako.com)