• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Moving a XF to a new domain

Kim

Well-known member
#1
Hi guys and gals,

Let's say I had set up a xenforo for development and testing purposes on www.somedomain.com/indev and I now want to move the whole kit and kaboodle to www.realdomain.com/forum

How do I do that without losing any members and posts that might have occurred?

Many thanks for your assistance :)
 

Brogan

XenForo moderator
Staff member
#3
Take a backup of your database using phpMyAdmin to your PC.

Take a backup of your server files to your PC using FTP, if you've made changes to the default installation, uploaded files and avatars, etc. Otherwise you can just do a new install as usual.

Copy the server files from your PC to your new domain server.

Create the database and user on your new domain and import the database from your PC to the new domain, again using phpMyAdmin.

Update the forum and home URLs in the ACP.

Update the URL in your XenForo customer account. :)
 

Blandt

Well-known member
#4
If the realdomain.com/forum is residing at the same server as the testdomain.com/indev then you don't have to backup or ftp anything

If it's the case all you have to do is point your real domain to where the test domain is pointing, rename indev folder to forum then go to

realdomain.com/forum/admin.php login and go to

options/list/basicBoard and update your info there ;)
 

Kim

Well-known member
#6
Take a backup of your database using phpMyAdmin to your PC.

Take a backup of your server files to your PC using FTP, if you've made changes to the default installation, uploaded files and avatars, etc. Otherwise you can just do a new install as usual.

Copy the server files from your PC to your new domain server.

Create the database and user on your new domain and import the database from your PC to the new domain, again using phpMyAdmin.

Update the forum and home URLs in the ACP.

Update the URL in your XenForo customer account. :)

Thanks hun, will give that a go :)
 

Kim

Well-known member
#7
If the realdomain.com/forum is residing at the same server as the testdomain.com/indev then you don't have to backup or ftp anything

If it's the case all you have to do is point your real domain to where the test domain is pointing, rename indev folder to forum then go to

realdomain.com/forum/admin.php login and go to

options/list/basicBoard and update your info there ;)

Ahh cool, thanks Blandt, it should be on the same server yeah.
 

Carlos

Well-known member
#8
This works if both sites will be pointing to the same server, if you're changing domains, all you need to do is point your new domain to the same root as the one you had for the old domain.