I have a self-hosted WordPress site at a hosting provider but I need to move it to a new hosting company.

How do I transfer my WordPress installation from one host to the other, and then how do I re-point my domain name to the new host?

In what order do I do these things to minimize the downtime?

  • 2
    I second that. Can you please edit this question to be clearer as to what you are asking? We love to help people here and the participants of this site are excellent. – closetnoc Jun 27 '14 at 14:45
  • @user3614715 - I rephrased your first sentence. Is that what you were asking? – dartonw Jun 28 '14 at 14:40
  • @closetnoc im already edit it :) Hope you undestand what im asking about :( – user3614715 Jul 1 '14 at 4:39
  • @dartonw hi thanks for rephrased my question, but im asking to clear all my data and content not to transfer the data and content to another servers :) Thanks to you again :) – user3614715 Jul 1 '14 at 4:40
  • 1
    @zigojacko It's gone through some different permutations, but should be clearer now, and hopefully what the original poster intended. – dan Jul 2 '14 at 8:08

1) Make a dump (backup) of your database.

2) FTP the code from your current host to your new host.

3) Create a database on your new host. Make certain that the database name and username is the same as it is on the current platform. If this is not possible, then you'll need to modify your code to suit the new platform.

4) Execute the SQL script created in step 1 to restore your database.

5) Your new host should provide you with a temporary URL that you can use for testing. Test the site thoroughly.

6) After thoroughly testing the site, login to the domain registrar and change your name servers (DNS). *NB: Don't forget to consider email (if applicable).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.