Multisite Help

Events happening in the community are now at Drupal community events on www.drupal.org.
patilrahul's picture

Hello everyone,

I Need some help on Multisite installation. I tried many times but not understand how to use that feature. Some problem with "web.config" or I don't understand what is the problem.

If anyone has a steps by step installation procedure please send me on my email id: prahul14@gmail.com

Configuration using:
xampp server and windows 7.

I’ll be very grateful to you.

Thank you

Comments

Help link....

fulgent's picture

Hello Rahul,

This link will help to you
http://drupal.org/node/1682040

If You have any query please paste here.

Thanks

You may try this easy

swapnilp's picture

You may try this easy steps:

  1. Go to Drupal Root > / Sites
    /{Create your new project folder}
    /default
    /all

Assuming "main-site" is your drupal installation folder name with existing setup, then new site say "sub-site", that you need to create should be on path "main-site/sites/"

  1. Copy default.settings.php from default folder to your new project folder "sub-site".

  2. Rename it to settings.php

  3. If you are using xampp, go to webserver configuration
    C:\xampp\apache\conf\extra\httpd-vhosts.conf

DocumentRoot "{Project Path upto root directory}"
ServerName {project name}

For e.g:

DocumentRoot "C:/xampp/htdocs/main-site/"
ServerName sub-site

Practice Lead - Drupal
Clarion Technologies Pvt Ltd.
http://www.clariontechnologies.co.in

Hi Rahul, For multi site you

abhishek.kumar's picture

Hi Rahul,

For multi site you need to follow the following steps.
1.) In sites folder you need to create a folder like aaa.rahul.com, bbb.rahul.com etc. In this case each site will use same drupal core as well as modules available in sites/all/modules. If you want site specific module then you have to put you modules in sites/aaa.rahul.com/modules and so on.

2.) To run aaa.rahul.com or what ever you site url you need to setup virtual host and restart the apache. To set up virtual host you need to edit file xampp\apache\extra\vhost.conf. For reference see the url http://httpd.apache.org/docs/2.2/vhosts/examples.html
or

DocumentRoot /www/example1
ServerName www.example.com

3.) You need to add this entry to your host file which is located in C:\WINDOW\system32\drivers\hosts

you need to put a entry like
127.0.0.1 aaa.rahul.com

and you are done just restart the Apache using Xampp and access the url's in your browser.

Thanks

Finally I'm done with multisite...

patilrahul's picture

These are main steps i followed:
1. Creating sub-folder in sites folder
2. setting.php file
3. site.php file
4. Adding virtual host in apache vhost file
5. and changes in systems host file
done ....
thank you to all for helping...

Pune

Group organizers

Group notifications

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

Hot content this week