vBulletin Mods

The Official vBulletin Modifications Site

Split existing vB5 installation into two subdomains
by ndoktoruser
20 Mar 2017 15:50


I am trying to split one existing vBulletin installation into two subdomains. Is this even possible?

Lets say there are two different sudomains:


In my vBulletin installation I have various subforums:

Subforum A
Subforum B
Subforum C
Subforum D

I would like to have Subforums A and B to be only visible on forum1.mywebpage.com and Subforums C and D only visible on forum2.mywebpage.com

Solutions that come to my mind:

1) One vBulletin installation which checks $_SERVER['HTTP_HOST'] and delivers the correct subforums.

Probably there would be problems with search queries. It would be hard to separate most of the functionalities and it would be hard to find every single place VB does the treatment to fetch data from DB.

2) Two different vBulletin installations with a shared database.
The two installations would have their own database, just userdata would be stored in a shared database. Would this be possible?
Could vBulletin be configured in a way so that it will store userdata in a different database?

Right now I tend towards a shared database, but not sure if this is even possible.

Maybe you know more? Any help is greatly appreciated! Thank you very much.

Dave 20 Mar 2017 17:38

I've tried to create this once for a vBulletin 4 forum based on http://www.vbulletin.org/forum/showthread.php?t=254197 and it was a pain to make.

I highly doubt it's a practical thing to make for vBulletin 5 since you'll have to know how vBulletin 5 works from the inside out. Besides that, it may not have all the appropriate hooks available to make such plugin for vBulletin 5.

Mark.B 20 Mar 2017 18:14

A quick note which I'm sure you're aware of but doing this will require two separate vBulletin licenses as well.

ndoktoruser 21 Mar 2017 10:06


Thank you for the reply.
I imagined it would be pretty complex, because I would need to know every single place in which vBulletin 5 access the DB.
Now I think that I would need to create tables "searchtowords_[a_z]" for each subdomain, right?
Not to tell about other possible problems that I am not aware of.

I am kind of giving up, but it surprises me that it isn't a request common enough to be added by default.

And yes, I imagined I will need a separate license.

Extra question: is it possible to, at least, share the authentication? I see that private messages would be a different problem, once they are stored in the table node, but it would be really good if users could have an account and be able to access both forums.

All times are GMT. The time now is 16:48.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.