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

How to move complete website with databases to a new hosting ?

Discussion in 'Web Hosting' started by Vrill, Jul 23, 2013.

  1. Vrill

    Vrill BANNED BANNED

    Joined:
    Jun 16, 2013
    Messages:
    380
    Likes Received:
    374
    Can somebody tell me how to move a complete website with its databases to a new hosting?Movement of content is no issue but how am i go to transfer the databases without having to create new ones on the new hosting
     
  2. cryptons

    cryptons Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 12, 2013
    Messages:
    1,223
    Likes Received:
    447
    Occupation:
    Developer,social marketer
    backup through any plugin!
     
    • Thanks Thanks x 1
  3. greenbox

    greenbox BANNED BANNED

    Joined:
    Jul 12, 2013
    Messages:
    61
    Likes Received:
    44
    Contact both of old hosting provider and new hosting provider. They will give you solutions for this case.
     
    • Thanks Thanks x 1
  4. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,288
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
  5. Teotech

    Teotech Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 8, 2012
    Messages:
    556
    Likes Received:
    115
    Location:
    BHW
    Export databases from old host, import it to new host and then you just need to change configuration parameters to config files of your script such as admin password (if not the same) db name and db location
     
  6. HerpDerpSlerp

    HerpDerpSlerp Power Member

    Joined:
    Mar 19, 2013
    Messages:
    778
    Likes Received:
    623
    I am a web developer and have moved numerous hosts and to numerous servers. I can assist you if you wish. depending on your setup it can be a pain in the ass. Even keeping same host and moving to a new server. Don't forget about nameservers which noone mentioned.
     
  7. cyadron

    cyadron Registered Member

    Joined:
    May 4, 2008
    Messages:
    83
    Likes Received:
    149
    1. export the db from phpadmin (make sure you will export it as an archive).
    2. archive your site folder and ftp it to the new hosting (to speed things up). If you do not have this option you will have to copy all the files to the new hosting.
    3. unarchive your site folder. (if you did the step above)
    4. create the db and import the sql file (after you unzip it) on your new hosting.
    5. change the config.php file and modify the db connect details on your new hosting.
    Done!
     
  8. pavan

    pavan Elite Member

    Joined:
    Mar 30, 2008
    Messages:
    1,603
    Likes Received:
    432
    you can't import database without creating a new database
    which is your new host ?
    probably they can assist you with site transfer
     
  9. ashishthakkar

    ashishthakkar Junior Member

    Joined:
    Nov 4, 2011
    Messages:
    122
    Likes Received:
    10
    You moved from where to where?

    I made a move myself recently.

    Took the backup of old using cpanel and asked the new host to tansfer everything and they did it.


    Regards,
    Ash
     
  10. kvmcable

    kvmcable Supreme Member

    Joined:
    Dec 28, 2010
    Messages:
    1,355
    Likes Received:
    2,815
    Occupation:
    24 year business owner - old school dude
    Location:
    KFC - BW3
    This works only when the databases are small enough to be imported completely before the MySQL timeout or php timeout interrupts the process. With large databases you need a better method. I like Navicat for large dbs but there are plenty of free methods including just busting apart the MySQL dump and importing it in smaller pieces. ;)
     
  11. Mikey1974

    Mikey1974 Newbie

    Joined:
    Jul 23, 2013
    Messages:
    18
    Likes Received:
    3
    u can ssh it over, get a plugin or hire me =)