PDA

View Full Version : Site <> Forum each on a different server..


Digma
12-02-2008, 12:48 PM
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


// ****** 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: