Page 1 of 1

Restoring backup on a different domain name

Posted: Tue May 24, 2005 12:41 am
by jgilmore

I have backed up my forum and am trying to restore it within a different domain name. When I log in on the new domain name it reverts to the old domain name (which is still up and running). How do I configure the duplicated forum on the new domain name to operate only under that domain?

Regards, Jon

Posted: Tue May 24, 2005 1:05 am
by arod-1

Code: Select all

modify phpbb_config set confiv_value='' where config_name='server_name';

and if the path of the new forum files (relative to document_root) differs from the old site:
modify phpbb_config set confiv_value='/path_to_index.php/' where config_name='script_path';
replace p-hpbb_config with {YOUR_TABLE_PREFIX}config

Posted: Tue May 24, 2005 1:57 am
by Jadestone
hmm, im not quite following this one, im a little confused on how i`m suppose to make the file look.

Posted: Tue May 24, 2005 2:53 am
by arod-1
no file. you have to change one or two rows in one of the tables in the database.
the table is phpbb_config, and dthe rows are the ones where the "config_name" column value is "server_name" and "script_path". whichever way you manage your database, you will have to change these fields. i am not familiar with phpmyadmin, but the lines i gave you are straight sql statements, and you should find a way to issue them.