vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Site <> Forum each on a different server.. (https://vborg.vbsupport.ru/showthread.php?t=197820)

Digma 12-02-2008 12:48 PM

Site <> Forum each on a different server..
 
Currently looking at a situation where I am more or less forced to create the following setup (due to contracts for the hosting of the msg board)

Setup:
1 server at hosting company A which contains the msg board with the database.

1 server at hosting company B which contains the website itself with no database.

Question:
How can I make it so that people can login to the website with the same information they use for the msg board, without having to copy the database.

Summarized:
Visitor logs in on server at hosting company A using login info from server at hosting company B and remains on server at hosting company A.

Hope it makes sense and if someone can point me into the right direction.

Thank you in advance.

FockerFGAA 12-02-2008 03:00 PM

usually inside the config file there will be a place where it will ask for the database servername and such. for instance in vbulletin it is

Quote:

// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;

you would need to change that if your database is hosted on a different server

Digma 12-02-2008 06:31 PM

Hmmmm, I could look into that.. Stupid of me for not thinking about that.

Thanks a lot for pointing it out to me.

Marco van Herwaarden 12-03-2008 08:13 AM

It is not as important that it is shared between 2 servers. The important question is are these also 2 domains?

Digma 12-04-2008 08:54 AM

No, it's one domain. We already figured that out. Otherwise the cookies won't work and I guess I'll be in violation of the vbulletin software agreement ;)

Marco van Herwaarden 12-04-2008 10:09 AM

Don't need to be against the L.A., but would have given huge cookie problems.

Digma 12-05-2008 07:25 AM

But thanks for bringing it up Marco, something like that could easily be overlooked. :up:


All times are GMT. The time now is 06:31 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.01075 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete