I am using Drupal as a multisite installation. I am able to setup and create multiple sites using the sites.php file and creating the necessary subdirectory.
What isn't working is using the default setup for multiple domains. What I want to do is point all of my domains at the Drupal installation and have them all load as the default site until I develop each individual site. When I do that the home page loads but if I click any links I get an internal server error.
Is there a way to make this work? I have created the default site as a subdomain of my main site, i.e. My default site is dev.magicmenagerie.com but my main site is magicmenagerie.com. If I just point magicmenagerie.com to Drupal to load the dev.magicmenagerie.com I get the same problem, home page is fine but internal server errors on any other page.
Any help you can give would be greatly appreciated as my site is currently in maintenance mode.
I am using Drupal 7.23.
Thanks for all your help,
Buddy
Comments
What web server are you
What web server are you using? Can you confirm whether the error is in your server configuration or whether the request gets far enough to hit the PHP layer?
The Boise Drupal Guy!
Have the same database for each subdomain
With a multisite setup, you cannot have all the subdomains point to the same database. So I suggest:
Set up each subdomain as you would ordinarily do with any multisite. Export the database from the site you want all the subdomains to display ("main db"). Create a new database for each subdomain and import the main db into each subdomain's database. (Don't forget to have each subdomain's settings.php point to its own database.) So all your subdomains now have the same database tables referencing their own database, and you can customize each subdomain database when you're ready.