I'm working on a site that was built by someone else, and it was set up as a multi site installation, even though there is only one site on the sever. IE, the settings.php and files are in mysite.com directory of sites instead of the default directory. I'm working on revamping this site, so I've made a copy of the database and entire web directory and moved it to a virtual host on my Mac. When I first go to my virtual host, I get the install page, saying that I need to copy /sites/default/default.settings.php to /sites/default/settings.php and set the permissions, but it's completely ignoring the settings file at mysite.com/settings.php. If I copy the settings.php to the default folder, it recognizes that I have an existing site, and will load it and everything pretty much works.

I've read the documentation at http://drupal.org/documentation/install/multi-site, but I'm not understanding what needs to be sym linked (if it needs to be). I've also Googled for the solution, but I'm not getting good results.

How do I get the site to load with settings in sites/mysite.com/?

Comments

Have you updated your hosts file?

Have you updated your hosts file so mysite.com points back to localhost? You may also need to update the apache configuration so the site responds to http://mysite.com

How to Edit the Hosts File in Mac OS X with Terminal

If you are trying to access the site by using http://localhost, the site wont use the mysite.com settings file because Drupal uses the domain name to determine what settings file to use in a multi site installation. The default folder is only used when Drupal cant match any part of the domain name up with any of the folders in the "sites" directory.

Yes, like I said, I can go to

Yes, I can go to mysite.com and load the root directory of the site's folder, and I can get the drupal site to load when everything from the sites/mysite is copied into the sites/default folder, but it won't load from sites/mysite.com

Figured out my problem. The

Figured out my problem. The directory in sites (ie originalsitename.com) did not have the same name as my virtual host (dev.mysite.com).

nobody click here