Install different sites with shared sign-in

davoaxiom - November 28, 2008 - 23:54

Before everyone starts pointing toward multisites, I've tried using a number of different methods. I give up, it just beyond me or it will not work on my host's server. I'm on a shared host and I'm guessing the reason that it will not work is because my hosting provider will not allow editing the apache conf. file.

Here's what I want to do:
1. set up four different domains - one as a gateway, one to handle a wiki style archive, one to handle a social network and one to handle a business aka band network. I could put this all into one site but I've found that it makes the navigation a nightmare. They structure will be:
iowaunder.com
archives.iowaunder.com
network.iowaunder.com
band.iowaudner.com

2. All three will share one database with two having a sub - prefix

3. One sign in for all three sites.

How do I set it up to so that all 4 share the same user, profile, etc...? Basically how to make three sites the slaves of one without using multisite?

you could simulate this, right?

zilla - November 29, 2008 - 00:36

you could make each subdomain an alias for the main site and make users of each site a "type of user" (they could use autoassign role based upon some selection during signup or after registration) and then you could simply theme each section differently, assign different content types to each alias and so on - never done it myself, but certainly seems possible - and pathauto would let you take it further by making the url's use tokens for each alias (eg you create a content type story -but in fact create 3 of them, all 'story - but for each site like archives story, network story, band story - and each can only be created by a specific user - so a band user creates a 'band story' and so on- and path auto could put band/ in the url...)

........................................................................
i love to waste time: http://twitter.com/passingnotes

You can use

kuldip zala - November 29, 2008 - 03:50

hi,

Try with domain,subdomain manager and also multisite location modules.
I think above modules will help you with shared sign-in with one database and multisite.

Thanks,

gotten multisite to work kind of

davoaxiom - November 30, 2008 - 09:09

I got multisite to work sort of. It all involved symlink. It should be mentioned in the instructions.

<?php
symlink
(".", "archives");
print
"Well Done";
?>

Now I have another issue. The multisite is just creating mirrors of the orginal installation and even though there is a different settings.php pointing to a different database, site 2 and 3 are not building new dbs and seem to be using the default database of the orginal installation. What I'm I doing wrong? could it have something to do with bootstrap.inc?

 
 

Drupal is a registered trademark of Dries Buytaert.