Knowledgebase

How to move phpBB to a new host

To migrate your phpBB forum from one hosting account to another, regardless of whether you use the same hosting provider or a different one, you have to do several things.


Free Website Transfer from HostKnox - get our phpBB hosting planand have our phpBB specialists take care of transferring your website for you at no additional cost.

In short, the most basic things you have to perform are:

  • Transfer the phpBB files and folders from the old to the new account. You can do this with an FTP client.

  • Export the database of your phpBB from the old hosting account and import it into a database on the new account. You can do this with phpMyAdmin.

  • Edit the config.php file of the transferred phpBB and update the database information in it. You need the following lines in the file:
$dbhost = 'localhost';
$dbname = 'database_name';
$dbuser = 'username';
$dbpasswd = 'password';

The database host should be localhost. Change database_name with the name of the database on the new account. That's the database into which you imported phpBB. Replace username with the username of the database user and password with the password of that user. Database users can be added and removed from the Databases section of the Pixie control panel.

In case you're going to use a new domain name with the transferred phpBB you have to update the cookie domain option. You can do this from the admin panel of the application (General tab>Server Configuration>Cookie Settings). Another way is to edit the database using phpMyAdmin.

For some more details you can also check out the tutorial on how to transfer your phpBB board.

Was this answer helpful?

 Print this Article

Also Read