Multisite with Apache and Windows Server 2003

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by startd on February 10, 2010 at 5:00pm

I am new to drupal and multisites and have a multisite that wont work. I have a base site that is drupal and is running great. Love drupal. That site is www.example.com. I want to create a subdomain called rosy.example.com. I followed the instructions on drupal.org/node/547860 . Let me give details of what I have and what I have done.

I am running a XAMPP install on a windows server 03 box.

I have the first drupal site for www.example.com installed to xampp/htdocs

I created a folder inside the xampp/htdocs/sites folder called rosy.example.com . Other folders in the sites folder is all, default, rosy.example.com

I copied the settings.php file and added the following lines

$db_url = 'mysqli://root@localhost/rosy' ;

base URL
$base_url = 'http://rosy.example.com' ; //NO trailing slash!

I edited the hosts file to include 127.0.0.1 rosy.example.com and added 127.0.0.1 example.com

I edited the httpd.conf and made sure vhosts was active

Then edited httpd-vhosts.conf to include the following lines.

NameVirtualHost *:80

DocumentRoot C:/xampp/htdocs/
ServerName rosy

DocumentRoot C:/xampp/htdocs/
ServerName localhost

I have added an entry for default but it shuts down my site. The data base exists. I can access it on the local box but cannot get to it outside of that box Can anyone help?

Drupal in Education

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /