1. 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

Discussion in 'XenForo Questions and Support' started by Kim, Nov 9, 2010.

  1. Kim

    Kim Well-Known Member

    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 :)
    anotheralias likes this.
  2. Ranger375

    Ranger375 Well-Known Member

  3. Brogan

    Brogan XenForo Moderator Staff Member

    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. :)
    Dragonfly likes this.
  4. Blandt

    Blandt Well-Known Member

    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 ;)
    anotheralias and Dragonfly like this.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Good point Blandt.
    I just assumed it was on a different server :)
    Blandt likes this.
  6. Kim

    Kim Well-Known Member

    Thanks hun, will give that a go :)
  7. Kim

    Kim Well-Known Member

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

    Carlos Well-Known Member

    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.

Share This Page