Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:35:59 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155535 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: couple webistes managed by one wb installation/instance  (Read 480 times)
YoJoe

Offline Offline

Posts: 74


WWW
« on: May 27, 2010, 05:11:54 PM »

hello

I've been wondering if it is possible to create couple websites using only 1 instance of wb.
The paths from different domain's directories can be redirected using mod rewrite, config.php files could be independent (1 database per website).
But I have no idea how could I force created content to be saved  in different directories for every website, and what about user privileges ? :/

I don't even know if other CMSes offer such feature (not even 1 from those I've tested already), but anyone think about it ?
I'm going to have 2-3 websites but managing only 1 instance of wb would be great.
Logged

WuJitsu - in web I trust  cool
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #1 on: May 31, 2010, 10:06:15 AM »

I think I recently read a post about how to do this. I don't think it's easy though, WB is not equipped with this feature itself.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
spawnferkel

Offline Offline

Posts: 96



« Reply #2 on: May 31, 2010, 11:14:16 AM »

hi,
i dont think WebsiteBaker is the right choice for your propose.
But an as an idea:
1. create a subdomain for every wb installation that links to the homepage of each one
2. set an A-Record entry for the Server that links to the subdomain
3. update the config.php in the wb root folder:

if($domain == 'www.domainone.de'){
 define('TABLE_PREFIX','domainone_');
}elseif($domain == 'www.domaintwo.de'){
 define('TABLE_PREFIX','domaintwo_');
}

That makes sure that you have a separated User management and Page management and that both domains dont get in any conflicts.

bye

alex
Logged
YoJoe

Offline Offline

Posts: 74


WWW
« Reply #3 on: June 02, 2010, 09:13:30 PM »

I think I recently read a post about how to do this. I don't think it's easy though, WB is not equipped with this feature itself.

Sometimes I have no freaking idea how to ask search engine to find the right thread  undecided
This was one of this "sometimes"

hi,
i dont think WebsiteBaker is the right choice for your propose.

[cut]

That makes sure that you have a separated User management and Page management and that both domains dont get in any conflicts.

Well, I've tried lots of CMS-es. There's no 100% perfecto CMS for my taste & needs, but WB is no.1, although configuring all its features (along with droplets and addons) needs some skills.

The reason I asked if it's possible to create couple websites using 1 WB instance is more theoretical,  than practical. I'd like to thank you for bringing up a possible solution. But it solves the question, when additional websites are accessed from subdomains of main domain.

It gets more complicated when it would look something like this
wb installed under: mydomain.com
websites, which should use wb installed under above domain: example1.com, example2.com, exampleN.com and so on. I assume using different databases, to minimize the problems with accessing and eventually moving whole website in future.
I think that the base http directory of exampleN.com would have to be a symlink to mydomain.com, or they would have to load all data from mydomain.com through an apache proxy (using mod rewrite)

Those are just my cogitations. Seeing some working implementations would be great.
I wonder if it would really lessen significantly the need of resources (especially http calls, or even db connection when using 1 db with prefixes) ?


as always sorrz for my engrish Wink
Logged

WuJitsu - in web I trust  cool
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #4 on: June 02, 2010, 09:48:56 PM »

I think I recently read a post about how to do this. I don't think it's easy though, WB is not equipped with this feature itself.

Sometimes I have no freaking idea how to ask search engine to find the right thread  undecided
This was one of this "sometimes"

Well, look for "multiple installs", multiple installations", "multiple WB", etc.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
YoJoe

Offline Offline

Posts: 74


WWW
« Reply #5 on: June 02, 2010, 11:34:01 PM »

Well, look for "multiple installs", multiple installations", "multiple WB", etc.

Thanks for search phrases. Found some related threads.
All contained bad news for me Sad

Anyway, as soon as I find more spare time, I'll try to complete this quest using Spawnferkel's hints Wink
But there are plenty mines, which I may step on.
For example directories to store pages.

I wish wb3 will contain such feature  Wink
Logged

WuJitsu - in web I trust  cool
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!