View Full Version : 2 vBulletin Forums on One Domain and One DB?
theothersully
01-04-2009, 01:19 PM
Hello,
This is a server configuration question.
Right now, I have one live forum on subdomain 1.mysite.com. It's up, it's got people on it and it's live.
I am now trying to get a second forum up at subdomain 2.mysite.com.
Ideally, I'd like to use a single MySQL DB to make backups more simple. Can I simply install my second forum on the other subdomain and point it to the existing (live) DB?
Are there any special steps I need to take, as in... will the new forum use some of the same tables as the old forum, corrupting or overwriting them?
Any tips on how to do this would be very helpful.
Thanks!
Marco van Herwaarden
01-04-2009, 01:28 PM
You should have 2 licenses for this.
theothersully
01-04-2009, 01:39 PM
You should have 2 licenses for this.
Thank you for the reply, Marco.
I wasn't asking about licensing, I was asking about how to set up both forums on my server using a single database and two different subdomains. Thanks.
Marco van Herwaarden
01-04-2009, 01:59 PM
Just use a different table prefix.
theothersully
01-04-2009, 02:01 PM
Just use a different table prefix.
Thank you for the advice.
So if I used *no* table prefix on the forum installation that is live, will that cause any problem? Can I have one of the forums with a table prefix and one without?
Sorry for all the questions. I just don't want to make any huge mistakes that will lead to a lot more question... ha ha :)
SEOvB
01-04-2009, 02:02 PM
You won't have any problems for one with a prefix and one without.
Ex:
Forum A Prefix:
Forum B Prefix: vb3_
And you'll have two vBulletin installs, on one database
theothersully
01-04-2009, 02:07 PM
You won't have any problems for one with a prefix and one without.
Ex:
Forum A Prefix:
Forum B Prefix: vb3_
And you'll have two vBulletin installs, on one database
Cool. Thanks!
I guess I'll just go ahead and try it then. Thanks for the help, everyone. I just needed a sanity check to be sure I wasn't about to hose my DB.
SEOvB
01-04-2009, 09:35 PM
No problem.
Always back up your database before attempting anything though. Even one small mental error could wreck havoc for you so its a good practice to do. ;)
Good luck
USAMustangs.com
01-13-2009, 08:18 PM
You won't have any problems for one with a prefix and one without.
Ex:
Forum A Prefix:
Forum B Prefix: vb3_
And you'll have two vBulletin installs, on one database
I'm very interested in doing the same thing as the thread creator. I want to create a second vB forum on the same hosting account using the same database as my main forum.
Could you elaborate a little further on the these table prefixes?
If I go to install a second vB forum on a sub domain what are the steps I need to take to use my existing database on the first forum. And will this second vB forum show all the existing users, threads, posts, etc.. once you complete the install? And does it matter if these two forums use different versions of vB? i.e. 3.6.5 and 3.8
I'm not an expert in MySQL, so forgive the newbie questions.
Thanks!
Dismounted
01-14-2009, 02:42 AM
Could you elaborate a little further on the these table prefixes?
In config.php, you have an option of selecting table prefixes. Just make sure the prefix on the second installation is different than the first.
If I go to install a second vB forum on a sub domain what are the steps I need to take to use my existing database on the first forum.
After installation, change the table prefix to the one of the first forum.
And will this second vB forum show all the existing users, threads, posts, etc.. once you complete the install?
After you do the above step, yes. However, any changes you do to the second forum will appear on the first. They will be exact mirror copies.
And does it matter if these two forums use different versions of vB? i.e. 3.6.5 and 3.8
Yes, the forum will not work properly if you do the above step and run different versions (change the table prefix to the prefix of the first forum).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.