Moving Wordpress Site to New Server HELP!!

Discussion in 'Site & Server Administration' started by glhawk, Dec 6, 2010.

  1. #1
    Alright, I just bought a new shared hosting plan with the same company. I wanted to move a wordpress site to the new server as the "Main" domain because right now it's a addon subdomain on the old server.

    So correct me if I'm wrong... I need to:

    1. Backup my database (which I do already with the plugin "WP-DBManager")

    Now, this is where I get confused. Do I need to navigate in my FTP to /public_html/website and copy all the folder to my computer so that I can upload it to the new one?

    Then after that I have no clue what to do. Any guidance would be helpful :)
     
    glhawk, Dec 6, 2010 IP
  2. Jamson

    Jamson Active Member

    Messages:
    403
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Navigate into the addon domains folder under public_html, download everything to your computer and upload it fresh onto your new hosting account under public_html. Go into phpMyAdmin and export the database it is using, create a new one under your hosting account and import it in there. Fix up the details in wp-config.php to match the new settings and voila. :)

    Also, if you have any caching plugins, i highly suggest disabling that before the move.
     
    Jamson, Dec 7, 2010 IP
  3. glhawk

    glhawk Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Alright thanks Jamson, I just attempted this and changed my nameservers just now. *Crosses Fingers* and hopes it works. I went into my wp-config file and changed the DB_name to the database I created in my new server, the DB_User is the user I created while creating the new DB right? and then the DB_Password is the PW I created for the user.

    DB_Host is still localhost correct?
     
    glhawk, Dec 7, 2010 IP
  4. Just A Wag

    Just A Wag Peon

    Messages:
    459
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yup - that's all right. db_host is probably localhost, but you can check that in your hosting provider's settings page(s) - I've known a few who do use something else, but it is usually localhost.
    You did import the contents of your old database into your new database in cpanel, right ?
     
    Just A Wag, Dec 8, 2010 IP
  5. glhawk

    glhawk Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Update: I got everything working just fine, with the help of you guys and support I was able to move everything flawlessly and change it to the main domain on the server :) (First times a charm right? haha). Thanks for the help !
     
    glhawk, Dec 9, 2010 IP
  6. Jamson

    Jamson Active Member

    Messages:
    403
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Glad to hear it. :)
     
    Jamson, Dec 9, 2010 IP
  7. glhawk

    glhawk Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Bad news bears...I was moving another site I did for a friend, I copied all the files over from the public_html, and imported the database, but my website is broken and it won't let me log into the website.com/wp-admin area.. when I type this in it goes to the old url I had the website temporarily up on.

    I had it on an old domain for my friend crossxfit.com (because I didn't really know how to use subdomains, until now) and I moved it over to kelehers.geegeemedia.com
     
    glhawk, Dec 19, 2010 IP
  8. domainwink

    domainwink Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If you are using cPanel, it's best to compress (zip or tar) the folder you want to transfer using cPanel file manager, then download it. Next, upload it to the new hosting account (which I assume uses cPanel also), then uncompress it.

    This ensures the integrity of the data being transferred.

    For the database, export the database using cPanel's Backup menu (icon). On the database section, click the database name. Next, on the other (new) cPanel, just upload it using cPanel's Backup menu again.
     
    domainwink, Dec 27, 2010 IP
  9. BigBoxHost

    BigBoxHost Well-Known Member

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #9
    just remote backup the wp-folder to new webhost and backup the database upload it first to at new host using php admin and then restore the backup back to it.
     
    BigBoxHost, Jan 1, 2011 IP
  10. glhawk

    glhawk Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Alright, I tried zipping it in cPanel and it worked. I guess some of the files didn't transfer over fully or something when I moved it from my FTP on my computer (I blame it on my crappy wireless internet..That's probably it haha). But everything worked just fine..Thanks for help everyone :)
     
    glhawk, Jan 3, 2011 IP