hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Sync Forums?
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Sync Forums?

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-19-2004, 09:41 PM
blue27 blue27 is offline
Disabled
 
Join Date: Mar 2003
Location: Canada
Posts: 9,852

Sync Forums?


If I have two sites both running phpBB, is it possible to syn both sites to have the same forum database, essentially to have the same forum running at 2 different URLs?

Reply With Quote


Sponsored Links
  #2  
Old 03-19-2004, 10:12 PM
robeyh robeyh is offline
Disabled
 
Join Date: Mar 2004
Location: Granville OH
Posts: 108
you can have them both use the same database. One would just have to use it remotely.

Reply With Quote
  #3  
Old 03-20-2004, 09:35 AM
robeyh robeyh is offline
Disabled
 
Join Date: Mar 2004
Location: Granville OH
Posts: 108
Perhaps I should clarify. First access mysql on the machine that is storing the forum database. Make sure that the phpbb mysql user has full access both from localhost as well as from the remote location (I would add two entries to the mysql/db table). Next for the local entry of phpbb use localhost/{nameofdatabase} and for the remote entry use {hostwithdb}/{nameofdatabase}. That should set up both systems to use the same db. Now we just hope that the network connection between the two is powerful enough to handle the heavy use your forum is going to get.

Reply With Quote
Sponsored Links
  #4  
Old 03-20-2004, 11:27 AM
blue27 blue27 is offline
Disabled
 
Join Date: Mar 2003
Location: Canada
Posts: 9,852
Thanks Robeyh.

Is there any security risk with this type of set up?

Reply With Quote
  #5  
Old 03-20-2004, 11:44 AM
robeyh robeyh is offline
Disabled
 
Join Date: Mar 2004
Location: Granville OH
Posts: 108
Very little. The only way the db would be accessible would be from either of the systems. So one would either have to hack into one of the systems, or they would have to successfully spoof the remote system and also know the username and password to use for phpbb. I would say there's a much greater likelyhood of there being a security hole in phpbb.

Something to note is that this traffic will open. That is someone could intercept it and trick your remote instance into getting the wrong data. If you're really paranoid an alternate setup would be:

1. Limit access to phpbb's db to localhost
2. Tunnel using ssh from remote host to db host (forward port x to 3306) (of course you'll be using your 16mb DSA for this... so login may take a couple of millenia (jk) )
3. set first phpbb to access db from localhost:3306
4. set second phpbb to access db from localhost:x (where x is the port used earlier)

Presto! Military grade encryption. Now there's no possibility of spoofing or interception of data. Of course, if you're not doing phpbb over https this is all rather useless.

Reply With Quote
  #6  
Old 03-20-2004, 04:26 PM
blue27 blue27 is offline
Disabled
 
Join Date: Mar 2003
Location: Canada
Posts: 9,852
Ok. I'll give these things a try. Thanks again.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
BitTorrent to Launch Cloud Storage Service Web Hosting News 2013-01-25 15:39:23
File Sync Software Provider ownCloud Secures $2.5M Funding Round to Grow Partner Channel Web Hosting News 2012-11-26 14:20:54
Cloud Storage Firm EMC Acquires Content Management System Syncplicity Web Hosting News 2012-05-22 14:47:56
Apple Confirms Discontinuation of iWeb, MobileMe Hosting in 2012 Web Hosting News 2011-06-24 20:15:37
Web Host U-SYNC Launches CM4all OnlineDrive-Powered Cloud Storage Web Hosting News 2011-06-22 20:54:21


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?