Login

Multisite Development Environment in Windows using XAMPP

This is the checklist presented at the May, Western Mass Drupal Users Group.

Assumptions: XAMPP and Drupal Core have been installed. Main site resides under xampp/htdocs/

1. Create a new folder under /sites (ex. sites/audio)

2. Add folders /files, /modules, and /themes under new site

3. Add a settings.php file under new site

4. Modify the Virtual Hosts file (httpd-vhosts.conf) in Apache

a. Path: xampp/apache/conf/extra/httpd-vhosts.conf

b. Make sure NameVirtualHost *:80 is uncommented

c. Add:

   <VirtualHost *:80>

   DocumentRoot /xampp/htdocs/audio

   ServerName audio

   </VirtualHost>

5. Change host file (Path: WINDOWS/system32/drivers/etc/host)

          127.0.0.1 localhost

          127.0.0.1 audio

6. RESTART APACHE

Post new comment

Leave a comment