[support] multiple domains at same site

Alexander Arul alexander.arul at gmail.com
Fri Apr 23 03:36:20 UTC 2010


Hi Kamal,

Thanks for the detailed reply. Like you said it's all just typical
configuration, the only benefit is that admin can setup and manage 10
websites from one place. So setting up multi site is all about just setting
up the sites/*<mydomain>/*settings.php .. pretty straight forward then.

What about isolating each web site from each other. What is the best way to
ensure this?

Thanks :)

Alex

On Fri, Apr 23, 2010 at 5:12 AM, Mohd Kamal Bin Mustafa <
kamal.mustafa at gmail.com> wrote:

> Things you list up is nothing specific to the multi-site. It's all
> just typical Drupal configuration, means if you can achieve that with
> normal Drupal instalation (no multi-site) then you can get the same
> result with multi-site.
>
> Multi-site is just a way to use the same code for all sites you setup
> rather than having separate Drupal code for each site you setup. The
> advantage is when maintaining the code, ie for update you just update
> single source tree and all you sites now running with the latest code.
>
> The way Drupal achieve this through a layer of settings file. By
> default, Drupal will look for settings.php in ./sites/default folder.
> But if you layout your sites folder something like:-
>
> ./sites/
> ./sites/default/
> ./sites/default/settings.php
> /sites/example1.com/
> /sites/example1.com/settings.php
> /sites/example2.com/
> /sites/example2.com/settings.php
>
> then when you request for www.example1.com, Drupal will look inside
> /sites/example1.com/ folder for settings.php. But if you request let
> say www.anothersite.com Drupal will just look into /sites/default for
> settings.php since nothing is configured for that domain.
>
> Everything pass this point is typical Drupal congfiguration.
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100423/df75964a/attachment.html 


More information about the support mailing list