Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2009, 01:19 PM
theothersully theothersully is offline
 
Join Date: Dec 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 2 vBulletin Forums on One Domain and One DB?

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!
Reply With Quote
  #2  
Old 01-04-2009, 01:28 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should have 2 licenses for this.
Reply With Quote
  #3  
Old 01-04-2009, 01:39 PM
theothersully theothersully is offline
 
Join Date: Dec 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
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.
Reply With Quote
  #4  
Old 01-04-2009, 01:59 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just use a different table prefix.
Reply With Quote
  #5  
Old 01-04-2009, 02:01 PM
theothersully theothersully is offline
 
Join Date: Dec 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
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
Reply With Quote
  #6  
Old 01-04-2009, 02:02 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 01-04-2009, 02:07 PM
theothersully theothersully is offline
 
Join Date: Dec 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
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.
Reply With Quote
  #8  
Old 01-04-2009, 09:35 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 01-13-2009, 08:18 PM
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
Location: D/FW, Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
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!
Reply With Quote
  #10  
Old 01-14-2009, 02:42 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by USAMustangs.com View Post
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.
Quote:
Originally Posted by USAMustangs.com View Post
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.
Quote:
Originally Posted by USAMustangs.com View Post
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.
Quote:
Originally Posted by USAMustangs.com View Post
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).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04893 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete