I've been around the block with this one. and I'm back at my front door!
I am trying to setup a multisite configuration on my local dev server, which currently looks like this. I'm using Xampp in a windows environment so my root is "Xampp\htdocs\"; then any site I'm working on is created under a folder here.
This gives me the follwing Drupal stucture.
So now I embark on the multisite config.
First, my hosts file is altered to include these two entries.
- 127.0.0.1 devsite.com
- 127.0.0.1 m.devsite.com
Browsing to the following URLs launch my site.
I now copy my \devsite\sites\all structure to a \devsite\sites\m.devsite.com folder and setup a \devsite\sites\sites.php file with these entries.
$sites = array( 'devsite.com' => 'all', 'm.devsite.com' => 'm.devsite.com', );
If I browse to either hostname, both load the site configuration which is in All. I can't seem to get it to load anything within m.devsite.com? I've tried copying the settings.php file into each stucture which produces an error message. I've tried renaming All to devsite in folder and sites.php but then I get a blank page when browsing.
Do you have any idea on what is wrong?