![]() |
hey guys, i was wondering, me and a buddy of mine have 2 mirros for Gamers on Demand club.. how would we mirror a php board and a website (both use 1 mysql database) my question is how can we updateboth at the same time with out having to really phyisically update them both? (update one and both are updated..) anyways thanks i really didn't know where to post this, i found offtopic and thought why not :-P.
-Xpgamer aka 13yearoldkilla |
Welcome to BetaONE, hope you stick around :D
I'm going to move this to our web development area, it may get a better response :) |
It's difficult to do mirroring/load balancing on pages with dynamic content, unless the board software you are using is specifically designed to support it.
You would have to host the MySQL database on only one server, and get both copies of your forum to connect to the same DB. |
You could try an rss feed type of system. One central server, shows to you, but hidden to the public and is where your content is posted to start.
After you post the content, the rss feed publishes the updated material on as many mirrors as your throw at it. Though I think that is what Zone is getting at, and I'm a little slow on the jump here. :) Welcome to B1. By your sn your a gamer. :) Max Payne? 1 and/or 2? |
try changing the "include config.php" bit (change config.php to ur configuration file) to http://your.address.here/your_board/config.php
i havent ever done it, but it should work. or, you could externally connect to the sql database, but i dunno how; sorry. try the MySQL homepage; www.mysql.org Prism128 |
Quote:
Quote:
To be perfectly honest I don't know why you would want to host the same forum accross two different servers. The largest IBF-based forum on the internet (neowin) runs OK on one server. If your server is struggling, I suggest you upgrade it. Sending all mysql requests to another server accross the internet will most likely cause more performance problems than it would solve. |
Well first off, we are just having 2 mirrors to make our webmasters happy (both have paid for webspace, so ya...) I'm gonna try to make them both run off one database, i believe it will work, ill try it and report back.
-On a side note... I'm a gamer as my name says, I have beaten both maxpayne 1 and 2, but i prefer online gaming (multiplayer rocks!) I play games like sof2, cs, mohaa, farcry.. you get the point. I'm one of the younger gamers, mature for my age (13 as of april 2nd) And help manage the gamers on demand club, I would give you guys links but I really don't know the rules of the board, I gotta read :-). |
All times are GMT +1. The time now is 07:15 PM. |
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.