Dynamic vhosts with XAMPP on OS X (with special DNS sauce)

I recently “refreshed” my Mac – I’d accumulated a fair amount of cruft in my attempts to install alternate versions of libraries, and decided that a fresh install of things would clear things up. I kept my wife’s user profile intact, since she hadn’t done anything funny in her user directories, but I decided to blow mine away and just put in the things I needed.

Being a web developer (if only part-time at the moment), I found myself having to remember how I went ahead and set up my testing environment so I could do rapid virtual host set-up, and I decided to write it down for posterity’s sake. This is just my own desired set-up – your own preferences may vary, but perhaps you’ll find this useful!

Continue reading