Multisite / Virtual site
donkasok - July 18, 2008 - 04:57
I am little confused about multisite and virtual site features.
i need to create three website
www.sitename1.com
www.sitename2.com
www.sitename3.com
three different domains,running in same server.
The contents also different in these three websites.
what should i do .
By using multisite i can create this.? or is it with virtual site?
please help me with some documentation regarding this

Multi-sites will do it, just
Multi-sites will do it, just duplicate the sites/default and rename to sitename1.com, etc
Multisite
Thanks a lot.....
I need to use same database..Is it possible with multi sites.
Virtal site
Is virtual site is able to have three website supported by single database.
i need to create three website
www.sitename1.com
www.sitename2.com
www.sitename3.com
three different domains,running in same server and only one database.
The contents also different in these three websites.
How can i enable the three virtual sites. I already installed condition(s) module and virtual site module. I stucked up there. Please anyone tell me what should i do to make three websites available in three domains
Using single database, I'm
Using single database, I'm not quite clear on, after doing my own research into this, it appears the single database is nothing more than having multiple databases ( tables ) inside one database, so yes, you can do that by changing the prefix for each site.
I prefer using separate databases for each site, more organized that way.
From what I can tell about a single database, it's the same as having multiple databases only they are all inside one roof and separated only by a prefix ie site1_tables, site2_tables. It appears to function the same as if they were separate databases. I think there is more benefit to having them separate, unless sharing the tables may be easier by having them all in one location, need more confirmation on the differences between single and multiple.
Tanks
Thanks a lot....i amvery confused ...but i will work on it andgive you a feedback..
Virtual sites
Hi,
I need to create three websites
eg: www.website1.com
www.website2.com
www.website3.com
These three websites should have different themes, menus and different data content but using only one database.Should it possible it by using virtual sites. I installed virtual site and condition modules. But i stucked there. Please give me some information to handle this condition. Please tell me how can i create three virtual sites and apply conditions.
Domain Module
Hi Donkasok,
you can use domain access module to do this task,
i have tried it and i have run multiple subdomains on single database, you can try it for the domains
http://drupal.org/project/domain
--
Kuldip Gohil
Software Engineer - Global Software Consulting (Gloscon)
1-888-DRUPAL-9 (378-7259)
http://www.gloscon.com
Domains
Here i need to set three different domains
eg:
www.abc.com
www.efg.com
www.xyz.com
some of the data will be sharing. I need to use separate domains ,not sub domains. is it possible with domain module.
DoN
Yes
Domain Access lets you 'register' any host as part of the domains for your site, so you can have abc.com and xyz.com on the same install.
But you would need the Single SignOn module in order to overcome the inability to share login cookies across different domains.
--
http://ken.therickards.com
Thanks
Hi,
Thanks. I already set up domain access control .Now i can restrict my contents. Content part is going fine. But now i have a problem with menus. I need three separate menus for three website. How can i do this using domain access module.
DoN
Domain Navigation
Please try Domain Navigation module it comes with domain access
--
Kuldip Gohil
Software Engineer - Global Software Consulting (Gloscon)
1-888-DRUPAL-9 (378-7259)
http://www.gloscon.com
Thanks,But
Thanks for your replay.
The problem :
I have three domains pointing same db. Now using domain access module i am able to restrict the contents in each site. I created three different menu types for each site. I assigned the menu blocks on header. But it not reflecting in anonymous users page and .
How can i create three different menu as a primary link or as a block that should shown in header.
How can i assign three websites with their respective menus. Please help me in this matter.
Quick solution
Hi Don,
Here is the quick solution that i can suggest you is ..
make instance of block (primary menu block) using http://drupal.org/project/multiblock
and set it into different domains by configuring particular block using "Show if the following PHP code returns TRUE (PHP-mode, experts only)."
option and write php code that that gets your current domain name .. (i think domain module are using global variable for the current domain or you can use $_SERVER for that, or you can use arg() function ) and then set block according to domain name,
Thanks,
--
Kuldip Gohil
Software Engineer - Global Software Consulting (Gloscon)
1-888-DRUPAL-9 (378-7259)
http://www.gloscon.com