PDA

View Full Version : How to replicate a punBB forum onto another domain?


dirtybobby
12-12-2006, 06:00 PM
hi,

i host a forum on an Apis hosted domain - let's call it www.foo.com .. i am planning some pretty heavy mod's to this forum, so rather than do it on the live system, i want to replicate it on another domain i own (again through Apis) to use as a test bed - let's call that www.bar.com..

is this a simple case of:

- log into phpMyAdmin over at www.foo.com
- back up database to local file
- FTP into www.foo.com
- download root and all sub-dir's to local machine

- log into phpMyAdmin here at www.bar.com
- choose to restore database using local file from above
- FTP into www.bar.com
- upload everything downloaded from www.foo.com to www.bar.com

will this work? or will there be permission problems because of the different username/password associated with the domains?

i appreciate any help you guys can offer..

thanks,

rob.

Matt
12-24-2006, 04:42 PM
I would open up the SQL dump in a text editor and search for /var/www/html/ and replace all occurrences of it with the new directory on your account if you set it up as a Shared domain through Multiple Domain Manager in esprit. Also edit the configuration file to reflect the new database name, login, and password in punBB. You *may* need to chmod a couple of directories to 777, but other than that you will be fine.