XF 2.1 How Do I Move My Site To A New Domain and Host

Most new host will move you for no charge as a courtesy for choosing their services.
Are you currently on an unmanaged or managed host and are you moving to an unmanaged or managed host?
If you are unmanaged and have WHM cPanel access it is quite easy to do a transfer.
The one thing you have to do is change your registrar to point to the new host or give your new host access so they can make the necessary changes. It may take up to 48 hours for the change to take affect but usually it is just a few hours.

Unmanaged:
1000010951.webp
 
Last edited:
Most new host will move you for no charge as a courtesy for choosing their services.
Are you currently on an unmanaged or managed host and are you moving to an unmanaged or managed host?
If you are unmanaged and have WHM cPanel access it is quite easy to do a transfer.
The one thing you have to do is change your registrar to point to the new host or give your new host access so they can make the necessary changes. It may take up to 48 hours for the change to take affect but usually it is just a few hours.

Unmanaged:
View attachment 315875
Thanks, but only have CPANEL No WHM. how best can I do it
 
what should I update the config.php located {xf root}/src/config.php
to
I don't know how XF 2.1 config is setup but 2.3 looks like this and you would fill in the information that can be used to connect to the database (you should be able to find the database name and username from CPanel MySQL Databases)
PHP:
$config['db']['host'] = 'localhost'; // Database host usually can leave this as is
$config['db']['port'] = '3306'; // Database port usually can leave this as is
$config['db']['username'] = ''; // Database username
$config['db']['password'] = ''; // Database password for user
$config['db']['dbname'] = ''; // Replace this with the name of the database
 
What plan do you have and who moved the files? Earlier you stated you had cPanel on your current server HERE.
Why not let Namecheap do the move? They offer it for free.

nc1.webp

Also, the DB cofig is the same in XF 2.1x, 2.2x and 2.3x

In the cPanel what do the data bases show?
nc2.webp

nc3.webp

What does the config.php file look like?

Don't worry about giving out this information. When you are done configuring the two settings they will be unique to your installation.
 
Last edited:
Back
Top Bottom