Drupal map sites/default to sites/example.com
If you're developing a Drupal site on your local box that uses a domain specific folder in /sites then you'll probably run into all sorts of problems running the site as http://localhost. One way to get around this would be to edit your hosts file and setup an alias in apache. A simpler solution I have found, however, is to simply make a symbolic link from sites/default to the sites/example.com folder. You can even do this easily on windows now with mklink. Note : use either a hard link or a junction, soft links on directories do all sorts of weird stuff...
Copyright © 2011, Aaron Blondeau
Drupal theme by Kiwi Themes.