Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressをダウンタイムなしで新しいホスティングサービスやサーバーに移行する方法

WordPressサイトを新しいホスティングサービス会社や別のサーバーに移行する予定ですか?

Webホスティングを変更したり、Webサイトを新しいサーバーに移行する際の最大のリスクは、データの損失とダウンタイムです。

このステップバイステップのチュートリアルでは、WordPress サイトをダウンタイムなしで新しいホスティングに安全に移行する方法を紹介します。また、WordPress サイトを新しいホスティングサービスに移行する際によくある質問にもお答えします。

Migrating WordPress from one host to another

重要:始める前に、多くのWordPressホスティングサービス会社が無料の移行サービスを提供していることを知っておいてほしい。それは彼らのサイトに記載されていないかもしれないので、あなたがしなければならないすべては尋ねることです。通常は無料ですが、少額の料金を請求する場合もあります。

それでは、WordPressを新しいホスティングサーバーに(ダウンタイムなしで)移行するための手順を見ていきましょう:

準備はいいかい?始めよう

ステップ1:新規WordPressホスティングサービスを選ぶ

WordPressの速度とパフォーマンスを最適化しても、遅いホスティングサービスから抜け出せない場合は、WordPressサイトをトラフィックの増加に対応できる新しいホスティングサービスに移行する時期です。

新しいWordPressホスティングサービスプロバイダーを探すときは、すぐに再移転する必要がないように慎重に選ぶことが重要です。

私たちが推薦する人物は以下の通りだ:

  • 信頼性の高い共有ホスティングサービスとしてはBluehostをお勧めします。彼らはWordPress.orgによって公式に推奨されています。WPBeginnerユーザーは、Bluehostのクーポンを利用することで、最大61%割引と無料ドメイン名を手に入れることができます。
  • より高速な共有ホスティングには、ホスティングサービスをお勧めします。彼らはトップWordPressホスティングカンパニーの一つであり、優れた顧客サポートでより高速なサーバーを提供しています。
  • クラウドホスティングサービスや 場所限定のプロバイダーを探しているなら、SiteGroundをチェックすることをお勧めします。3つの大陸にデータセンターがあります。
  • マネージドWordPressホスティングサービスをお探しなら、WP Engineをチェックすることをお勧めします。業界で最も有名なプロバイダーです。

新しいホスティングサービスを購入したら、WordPressをインストールしないでください。それは後のステップで行います。

今のところ、新しいウェブホスティングサービスアカウントは、メインディレクトリにファイルやフォルダーがない空の状態でなければなりません。

ステップ2:Duplicatorをセットアップして簡単に移行する

最初に行う必要があるのは、移動したいサイトにDuplicatorプラグインをインストールして有効化することです。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。

Duplicatorは市場で最高のWordPress移行プラグインです。また、自動スケジュールバックアップ、クラウドストレージサポート、1クリックリストア、スマートマイグレーションが付属しています。

注:DuplicatorにはDuplicator Liteという無料版もあります。これはサイトを移動するために使用することができますが、プロバージョンに比べて機能が制限されています。

Duplicatorをインストールして有効化したら、WordPress管理エリアのDuplicator ” Packagesページにアクセスしてください。

次に、右上にある「新規作成」ボタンをクリックします。

Make new Duplicator package

Duplicatorのバックアップウィザードが起動します。

次の画面では、オプションでバックアップの名前を設定するか、「Next(次へ)」ボタンをクリックして続行します。

Duplicator package creation

次に、Duplicatorはあなたのシステムをスキャンし、パッケージの準備に問題がないことを確認します。

スキャン結果がチェックアウトされたことを確認し(すべてが “Good “と表示されるはずです)、”Build “ボタンをクリックします。

Duplicator scan

処理が完了するまでに数分かかることがありますので、プラグインが作業を行う間、タブを開いたままにしておいてください。

プロセスが完了すると、インストーラとアーカイブパッケージのダウンロードオプションが表示されます。Download」ボタンをクリックし、「Both Files」を選択してください。

Download Duplicator migration files

アーカイブファイルはあなたのサイト全体のコピーであり、インストーラファイルはあなたのためにインストールプロセスを自動化します。

ステップ3:新規ホスティングサービスにWordPressサイトをインポートする

アーカイブファイルとインストーラファイルの両方をダウンロードしたので、次のステップはそれらを新しいホスティングサービスにアップロードすることです。

これは、FTPを使用して新しいウェブホスティングサービスに接続することによって行うことができます。

この作業を行ったことがない場合は、WordPressにFTPでファイルをアップロードするための初心者向けガイドをご覧ください。

通常、FTPクライアントに接続する際、サイトのドメイン名をホスティングサービスとして入力します。

しかし、ドメインネームはまだ以前のホスティングサービスを指しているため、サーバーのIPアドレスまたはサーバーホスト名を入力して接続する必要があります。

この情報は、新しいホスティングアカウントのコントロールパネルのダッシュボードで確認できます。

Server IP address

この情報が見つからない場合は、新規に契約するホスティングサービス会社にサポートを依頼すれば、助けてくれるでしょう。

FTPクライアントを使用して、インストーラ.phpファイルとアーカイブ.zipファイルの両方をサイトのルートディレクトリにアップロードする必要があります。

これは通常、/username/public_html/フォルダーです。

もし本当に〜してもよいですか?

ルートディレクトリが完全に空であることを確認してください。ホスティングサービスによっては、契約時にWordPressが自動的にインストールされるものもあります。

ルートディレクトリにWordPressがインストールされている場合は、まずWordPressを削除する必要があります。

それが完了したら、アーカイブZIPファイルとインストーラ.phpファイルの両方をサイトのルートディレクトリにアップロードする必要があります。

ステップ4:ダウンタイムを防ぐためにホスティングサービスファイルを変更する

両方のファイルを新しいホスティングサービスにアップロードしたら、インストーラ.phpファイルにブラウザーでアクセスする必要があります。

通常、このファイルには次のようなURLでアクセスできる:

http://www.example.com/installer.php

しかし、このURLでは古いホスティングサービスにアクセスすることになり、404エラーが表示されます。これは、ドメイン名がまだ古いホスティングサービスを指しているためです。

通常、他のチュートリアルではドメインのネームサーバーを変更し、新しいホスティングサービス会社を指定するように指示されるかもしれませんが、それは間違いです。

今これを行うと、サイトを移行する際に、訪問者は壊れたサイトを見ることになります。

旧サイトに影響を与えることなく、コンピューター上で新サイトに一時的にアクセスする方法をご紹介します。

これは、コンピューター上のホスティングサービスファイルで行います。

ホスティングサービスファイルは、ドメイン名を特定のIPアドレスにマッピングするために使用することができます。言い換えれば、ウェブサイトが移転していないにもかかわらず、移転しているとコンピューターに思い込ませることができる。

hostsファイルにドメイン名のエントリを追加して、新しいホスティングサービス会社を指すようにする方法を見てみましょう。

これらの変更を行うことで、新しいホスティングのファイルには独自のドメイン名でアクセスできますが、それ以外のサイトには古いホスティングからアクセスすることになります。これにより、100%のアップタイムが保証されます。

最初に行う必要があるのは、新しいWebホスティングサーバーのIPアドレスを見つけることです。

これを見つけるには、cPanelダッシュボードにログインし、左側のサイドバーにある[expand stats]リンクをクリックする必要があります。サーバーのアドレスが「共有IPアドレス」として表示されます。

例えば、ホスティングサービスでは、ホスティングプランの詳細の下にサーバーIPアドレスがあります。

Hostinger server IP

Windows PCをお使いの場合は、管理者権限でメモ帳アプリを開く必要があります。

スタート」ボタンをクリックし、メモ帳アプリを探します。メモ帳アプリのアイコンを右クリックし、「管理者として実行」を選択します。

Run Notepad as administrator

WindowsのUACプロンプトが表示されますので、「はい」をクリックして管理者権限でメモ帳を起動します。

メモ帳画面で「ファイル」→「開く」を選択し、C:∕WindowsSystem32∕drivers∕etcフォルダに移動する。このフォルダーからホスティングサービスファイルを選択して開きます。

Macを使用している場合は、Terminalアプリを開き、hostsファイルを編集するためにこのコマンドを入力する必要があります:

sudo nano /private/etc/hosts

WindowsユーザーもMacユーザーも、ホスティングサービスファイルの一番下に、コピーしたIPアドレスを入力し、ドメイン名を入力する必要があります。このように:

192.168.1.22 www.example.com

IPアドレスをcPanelからコピーしたものに、example.comを自分のドメイン名に置き換えることを本当に〜してもよいですか?

完了したら、変更を保存します。

これで、コンピューター上のドメイン名を使用して、新しいホスティング上のファイルにアクセスできるようになります。

重要移行が終わったら、hostsファイルに加えた変更を元に戻すことを忘れないでください(ステップ6)。

ステップ 5: 新規ホスティングサービスでの MySQL データベースの作成

新しいホスティングサービスでインストーラを実行する前に、新しいホスティングアカウントでMySQLデータベースを作成する必要があります。すでにMySQLデータベースを作成している場合は、次のステップに進んでください。

cPanelでデータベースを作成する

新規ホスティングサービスのcPanelダッシュボードに移動し、「データベース」セクションまでスクロールダウンし、「MySQLデータベース」アイコンをクリックします。

新規データベースを作成するためのフィールドが表示されます。

データベースの名前を入力し、「Create Database」ボタンをクリックします。

Create database

MySQLデータベースを作成したら、MySQLユーザーセクションまでスクロールダウンする必要がある。

次に、新規ユーザーのユーザー名とパスワードを入力し、「Create User」ボタンをクリックします。

Create database username and password

その後、このユーザーをデータベースに追加する必要があります。こうすることで、先ほど作成したユーザー名に、そのデータベースで作業するためのすべての権限が与えられます。

Add User to a Database(ユーザーをデータベースに追加)」セクションまでスクロールダウンしてください。ユーザーの隣にあるドロップダウンメニューから作成したデータベースユーザーを選択し、データベースを選択して「追加」ボタンをクリックします。

Add user to database

これでWordPressでデータベースを使用する準備が整いました。データベース名、ユーザー名、パスワードは本当に〜してもよいですか?次のステップで必要になります。

ステップ 6: Duplicator移行プロセスの開始

これでインストーラを実行する準備ができました。ブラウザーで、example.comをあなたのドメイン名に置き換えて、以下のアドレスにナビゲーションしてください:

http://www.example.com/installer.php

Duplicator installer

インストーラはいくつかのテストを実行し、アーカイブテストと検証テストの横に「Pass」と表示されます。

利用規約のチェックボックスにチェックを入れ、「次へ」ボタンをクリックして次に進みます。

ここで、MySQLホスティングサービス、データベース名、ユーザー名、パスワードの入力を求められます。

ホスティングサービスはおそらくlocalhostでしょう。その後、前のステップで作成したデータベースの詳細を入力します。

Enter database details

次に、Duplicatorはデータベースに接続でき、インストールを実行できることを確認する必要があります。

下にある’Validate’ボタンをクリックして次に進む。

Validate database information

Duplicatorが接続できれば、テスト結果はPassと表示されます。

これで、キーワードと注意事項にチェックを入れ、「次へ」ボタンをクリックすることができます。

Accept terms and continue

Next(次へ)」ボタンをクリックして進みます。

DuplicatorはアーカイブZIPから新しいデータベースにWordPressデータベースをインポートします。

次に、サイトのURLまたはPathを更新するよう求められます。ドメイン名を変更するわけではないので、ここでは何も変更する必要はありません。

次へ」ボタンをクリックしてください。

Duplicatorは最後のステップを実行し、ログインボタンを表示します。

Duplicator migration finished

これで、新規ホスティングサービス上の WordPress サイトにログインして、すべてが期待どおりに動作していることを確認できます。

ステップ7:ドメインネームサーバー(DNS)の更新

この時点で、新しいホスティングサーバー上にWordPressデータベースとファイルの完全なコピーを作成しましたが、ドメインはまだ古いWebホスティングアカウントを指しています。

ドメインを更新するには、DNSネームサーバーを切り替える必要があります。これにより、ユーザーがあなたのドメインをブラウザーに入力したときに、あなたのサイトの新しい場所に移動できるようになります。

ホスティングサービスにドメインを登録した場合は、新しいホスティングサービスにドメインを移管するのがベストです。

一方、Domain.com、GoDaddy、Network Solutionsなどのドメイン登録業者を使用している場合は、ネームサーバーを更新する必要があります。

新しいウェブホスティングサービスのDNSネームサーバー情報が必要です。これは通常、次のような2、3のURLです:

ns1.hostname.com
ns2.hostname.com

このガイドでは、GoDaddyでDNSネームサーバーを変更する方法を説明します。

その他のホスティングサービスについては、ドメインネームサーバーの変更に関するガイドをご覧ください。

ドメイン登録業者やウェブホスティングサービスによっては、スクリーンショットが異なって見えるかもしれません。しかし、基本的なコンセプトは同じです。

ドメイン管理エリアを探し、ネームサーバーを探す必要があります。ネームサーバーの更新が必要な場合は、ホスティングサービス会社にお問い合わせください。

GoDaddyの場合は、GoDaddyアカウントにログインし、「ドメイン」をクリックする必要があります。

その後、変更したいドメイン名の横にある「管理」ボタンをクリックする必要があります。

Manage domain

追加設定」セクションに進む。

次に、’Manage DNS’(DNSの管理)をクリックして続行します。

Manage DNS

次に、「ネームサーバー」セクションまでスクロールダウンする必要があります。

ここで「変更」ボタンをクリックする。

Change nameservers

まず、ネームサーバーの種類ドロップダウンを「初期設定」から「カスタム」に切り替える必要があります。

その後、ネームサーバーの下に新しいホスティングサービスの情報を入力することができます。

Updating DNS nameservers

保存」ボタンをクリックして変更を保存することを忘れないでください。

ドメインのネームサーバーの変更が完了しました。DNSの変更は、すべてのユーザーに反映されるまでに4~48時間かかります

旧ホスティングサービスと新ホスティングサービスには同じコンテンツがあるため、ユーザーには何の違いもわかりません。WordPressの移行は、ダウンタイムなしでシームレスに行われます。

安全面を考慮し、移行から7日後まで旧ホスティングサービスアカウントのキャンセルを待つことをお勧めします。

よくある質問

WordPress をホスティングサービスから別のホスティングサービスに移行する際に、多くのユーザーから寄せられる質問をご紹介します。

1.WordPressサイトを他のホスティングサービスに移行するにはどうすればよいですか?

WordPressファイルとデータベースを古いホスティングサービスから新しいホスティングサービスに移動することで、WordPressサイトを移行することができます。

ホスティングサービス会社によっては、無料のサイト転送サービスも提供していますが、問い合わせが必要です。または、FTPクライアントを使用してファイルを転送し、phpMyAdminを介してデータベースをインポートすることにより、自分で行うこともできます。

2.WordPress サイトを他のホスティングサービスに移行できますか?

はい、WordPressサイトを他のホスティングサービスに移行することは自由です。

3.ドメイン名を登録せずに新しいホスティングサービスにサインアップできますか?

はい、ドメイン名を登録しなくてもホスティングサービスに申し込むことはできます。

ドメイン名とホスティングサービスは2つの異なるサービスであり、ホスティングサービスに新規登録する際に必ずしもドメイン名を登録する必要はありません。詳しくは、ドメイン名とホスティングサービスの違いをご覧ください。

ホスティングサービスプロバイダーによっては、ホスティングサービスを購入する際、最初のステップとしてドメイン名を選択するよう求められます。また、すでにドメイン名を持っている場合は、それを入力することもできます。

4.新しいホスティングサービスにドメイン名を移管する必要がありますか?

いいえ、ドメイン名を新しいホスティングサービスに転送する必要はありません。しかし、ドメイン名を新しいホスティングサービスに移管すると、新しいホスティングアカウントと同じダッシュボードで更新や管理が簡単になります。

このトピックについては、ドメイン名とその仕組みに関する究極のガイドをご覧ください。

5.Duplicatorのデータベース接続確立エラーを修正するには?

Duplicatorでデータベースへの接続エラーやデータベース接続エラーが表示される場合は、データベース接続の情報が間違っている可能性があります。

データベース名、MySQL ユーザ名、パスワードが正しいことを確認します。一部の Web ホスティング会社では、MySQL サーバのホスティングサービスとして localhost を使用していません。その場合は、Web ホスティングサービスのサポートスタッフに正しい情報を提供してもらう必要があります。

6.新しいホスティングサービスからサイトが読み込まれているかどうかを確認するにはどうすればよいですか?

あなたがウェブサイトをホストしている人を確認することができますいくつかのオンラインツールがあります。あなたが新規ホスティングサービスにあなたのウェブサイトを転送した後、あなたはこれらのツールのいずれかを使用することができ、彼らはあなたのウェブサイトをホストしているWebホスティング会社の名前が表示されます。

サイトを移行し、ドメインネームサーバー(DNS)に変更を加えてからまだ時間が経っていない場合、サイトが古いホスティングサービスからまだ読み込まれている可能性があります。ドメイン名の変更が完全に反映されるまで、最大48時間かかることがあります。

7.古いホスティングサービスからファイルやデータを削除する必要がありますか?

ホスティングサービス会社を変更する場合、少なくとも1週間は古いサイトを保持することをお勧めします。その後、古いホスティングサービスからファイルを削除することができます。アカウントをキャンセルする場合、ホスティングサービスプロバイダーは彼らのポリシーに従ってすべてのデータを削除します。

8.旧ホスティングサービスでのアカウントはいつまで有効化したままにしておく必要がありますか?

一度新しいホストにあなたのウェブサイトを移行し、あなたが古いWebホストでホストされている他のウェブサイトを持っていない場合は、古いWebホスティングアカウントをキャンセルすることができます。

しかし、すでに年間ホスティングサービス料金を支払っている場合もあります。解約時に返金が可能かどうか、返金ポリシーを確認する必要があります。

9.SSL/HTTPSでWordPressサイトを移動するには?

新しいホスティングサービスプロバイダーにSSL証明書をインストールする必要があります。その後、上記と同じ手順を踏むことができます。https://example.com のように、URLでHTTPSを使用していることを確認してください。

10.ボーナス:新規ホスティングサービスによる無料サイト移行

ホスティングサービスを変更したいが、上記の手順があまりにも複雑に聞こえる場合は、以下のプロバイダーを選択することができ、彼らはあなたのためにあなたのウェブサイトを移行します。

SiteGroundHostinger、およびWP Engineは、WPBeginnerユーザー向けに無料のサイト移行を提供しています。

このステップバイステップのガイドが、ダウンタイムなしでWordPressを新しいホスティングサービスに移行するのにお役に立てれば幸いです。WordPressの移行で何らかのエラーに遭遇した場合は、WordPressの最も一般的なエラーとその修正方法に関するガイドをご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

アバター

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

299件のコメント返信を残す

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. claude

    Hello,

    thanks for the article.

    I am moving an HTML website to WordPress changing everything; host, design, etc…

    Can I build the new WordPress website and then just set the new DNS when the website is ready in order to have it online?

    Or should I also follow step 4?

    Thank you

    Claude

    • WPBeginner Support

      If you’re changing the DNS then you wouldn’t need to change your hosts file but when you change the DNS your site visitors would see the new site as well.

      管理者

  3. Simon Borg

    I got to step six and I could not open the installer page in my browser

    I just got a 404 not found page.

    I did change the web address to my web address.,

    • WPBeginner Support

      You would want to check with your hosting provider that you placed the file in the correct location

      管理者

  4. hunter

    Got to the login point at the end of the duplicator. White screen of death. whaaaat!!?!?!?!?!

  5. Willy

    Hi, I just scan and Got Notice in File Size.
    It turns out the File Size was more than 1GB,
    do you have advice for it?

    Thank you so much for this great tutorial

    • WPBeginner Support

      For a site that large, you would want to reach out to your hosting provider to let them know about it and they can normally assist.

      管理者

  6. paul ellen

    Three days in to my first go with WordPress working toward an on line shop scenario to go live in the new year. Just used this to move wp between to vm’s in a lab. Did exactly what it said it would on the label. Will definitely use this when I move to a go live on my hosted domain space.

    • WPBeginner Support

      Glad our recommendation was helpful :)

      管理者

  7. Ezim Osai

    After running the plugin, only the archive file is being downloaded without the installer. How may I correct this?

    • WPBeginner Support

      If you reach out to the plugin’s support they should be able to take a look and help solve the issue. You could also try checking with your hosting provider to ensure they’re not preventing the file from being downloaded for some reason.

      管理者

  8. Sachin

    Hi, Thanks for the tutorial. I followed it and worked well. I am able to access the migrated website from new hosting account. Only issue I am facing is, I am not able to access wp-admin page while browsing to /wp-admin Can you please provide any guidance on what should I check or look for? Thanks in Advance

  9. Stefano

    Tried today for migrating a website from an old provider to a new one.

    BANG! everything got well and smoooth :-)

    I have used the free version, also, but I think I will upgrade because the guys deserve it.

    • WPBeginner Support

      Glad you were able to successfully transfer your site :)

      管理者

  10. James Eric

    I don’t use FTP, I just simply browse to public html folder and directly upload the file. It works fine.

    • WPBeginner Support

      Not all hosting providers offer the file manager that you likely used :)

      管理者

  11. Brandon Morris

    I am moving multiple websites to a new host, you say above that the files need to be uploaded to the root, is this still true for multiple websites or can a folder be created for each one? Or will this have to be done manually?

    Thanks
    Brandon

    • WPBeginner Support

      If it is multiple sites then it would depend on how your new host handles multiple domains. If they create folders for your different domains then you would put each site’s content in the folder for that site.

      管理者

  12. Carl

    Everything worked up until I tried to install on the new site. Then all I get is “502 Bad Gateway”

  13. Roger Gill

    Re the ‘Hosts’ file amendment.
    I see directions for Windows and Mac in the tutorial. Can you help me find this file in a Linux/Ubuntu set up please.

    • WPBeginner Support

      In Linux, it would be similar to the Mac where you would use: sudo nano /etc/hosts

      管理者

  14. Vishvala Amin

    Wonderful tutorial. I have not yet transferred my website but this tutorial has given me a lot of courage. Thanks and will let you know how I get on.

    • WPBeginner Support

      Thank you, glad our tutorial could help make the process less frightening :)

      管理者

  15. Michael

    Great tutorial, followed all steps and everything worked correctly the first time, can’t ask for anything more than that!

    • WPBeginner Support

      Awesome, glad our guide could help :)

      管理者

  16. Kelli

    First, thanks so much for sharing this. I am totally new to site migration. Second, HELP!

    I’m all the way to Step 6- Duplicator Step 2 of 4 and the Validation failed. It was not able to verify the host connection. I have no idea what to do next. I double checked my database info and it’s all correct unless my host is something other than “localhost” and if it is, what would it be?

    Thank you in advance for any guidance one this :)

    • WPBeginner Support

      If you reach out to the support for the Duplicator plugin with the entire message they should be able to assist. You may also want to check the plugin’s FAQ section to ensure there isn’t a host-specific setting that needs to be set up.

      管理者

  17. Serverental

    Great post. Thanks for sharing

    • WPBeginner Support

      You’re welcome :)

      管理者

  18. Nina

    This is a great tutorial! I have followed each step perfectly, until I get to the step to access the installer.php. I can see in my hosts file that I have the entry correct, but when navigating in the browser, it sends me to the existing site with a 404 error. What could be wrong? Do I need to reboot my computer?

    • WPBeginner Support

      You may need to restart your browser for the hosts file change to be seen :)

      管理者

  19. Erik S

    Thank you so much, this guide worked perfectly! I actually already had moved to the new host and was stuck when I came across your guide and did the reverse of step 4 to install Duplicator (Edited the Host file to look at the old host address) and continued with the rest of the guide, which worked seamlessly.

    • WPBeginner Support

      Glad our article could help :)

      管理者

  20. Arlene

    Hi and thank you yet again for such good information (which I’ll need some time to absorb). But for the immediate future

    For reasons too numerous to detail, I have done nothing with my site to date, really, other than play around with settings. And I want to try a different host IF I decide to go forward. SO….Do I need to do much beyond cancelling my current hosting contract? Though I’ll renew the domain name because hope floats etc.

    Thank you for any assist, and for your site generally.

    • WPBeginner Support

      If you have no content, other than keeping your domain you want active, you can close your hosting account until you find a host you want your site on. You shouldn’t need to do more normally.

      管理者

  21. George

    I have done everything right but when I try to go to mywebsite.com/installer.php I get a 404 not found from the server. I have uploaded the files on public_html

    • WPBeginner Support

      You may want to ensure you are looking at the correct hosting provider when trying to locate that file and that the file’s filetype was not changed for some reason.

      管理者

  22. Marek Kurek

    Hi, I’m just about to move my site from Siteground to Bluehost. I need to delete WordPress at Bluehost. Do i just delete files at public_html folder or is there a different way ? Thanks !

    • WPBeginner Support

      We would recommend creating a backup in case there are any hiccups with the transferred site but as long as your site is set up on your new host you would be able to remove the files in that folder to remove the site

      管理者

  23. Hisham

    That is very helpful. Thank you.

    • WPBeginner Support

      You’re welcome :)

      管理者

  24. life

    hello and thank you for this great tutorial
    i am beginner in wordpress and have a question :
    how i can detect wordpress site theme name ?

  25. philip

    nice tutorial…keep it up bro

    • WPBeginner Support

      Thank you :)

      管理者

  26. Russell Roberts

    Excellent, helpful article. Please note that some of the plugins cited in the article may not work with WordPress version 5.0 and up.

    • WPBeginner Support

      Thank you for stating this, some may have not been tested with 5.0 and up but we will certainly keep an eye out for if one of the recommended plugins no longer works :)

      管理者

  27. Zach Miller

    I really appreciate the level of detail in this tutorial. Good stuff! But I do think it should have been mentioned that if your site is a store or has any user interaction that gets entered into the database, then a “down for maintenance” page may be the ticket. Other wise you migrate but may be missing a user order or sign up etc from your admin on the new host. Any advice on how to smoothly handle that kind of migration? As in how would you migrate without having to block user interaction during the migration process?

    • WPBeginner Support

      If you want to prevent that issue from happening and not use a maintenance page as you suggested then you would want to find when your store has the least amount of traffic and change the nameservers then.

      管理者

  28. Ken

    What if my nameserver points to Cloudflare?

    • WPBeginner Support

      Then you would need to update your DNS settings on Cloudflare

      管理者

  29. Stephen Duffield

    This process only works if your current host is not a WordPress.com site ie a Free hosting (note I had purchase the business upgrade, but the system wasn’t coping). Duplicator & Duplicator Pro wont work for wp.com sites. Nothing works unless you use one of two host sites that they recommend. Duplicator after lots of help, ended up giving me a refund. I tried many a plugins all could not migrate a WP.com site. I now find ,myself having to start all over. This is not a good situation to be in.

  30. Dan

    You saved my life, instructions were so easy to follow. Ran smoothly. Thanks a lot.

  31. Mel

    I moved my website from Hostgator (using a WordPress website) to Wix. The domain remained with Godaddy. I thought I would still be able to get into WP Admin, but the page doesn’t appear. Is there any way to get access to the site via wordpress? I need to get some content off the old site.

    Mel

    • WPBeginner Support

      Hi Mel,

      You can contact your hosting provider and they can assign a temporary subdomain to access your old WordPress site.

      管理者

  32. Eric Young

    Thanks for creating this detailed tutorial saving me hours of time. However, I notice that if you move a site with SSL certificate (https), you need to make sure you install a SSL certificate after the move, otherwise, it simply won’t work. Also, for some shared hosting customers, they may not have cPanel available to them and they need to rely on some backup plugins such as BackupBuddy or WpDraftPlus to create a complete backup for them. For some reasons, I need to deactivate my security plugins to let BackupBuddy performs a Complete Backup, otherwise, it’ll fail.

  33. ussay

    wow! so easy to use.
    Thank you very much my migration was successful

  34. Melyssa

    Hi,

    I just went through the entire process. When I go to enter my website with the installer.php it’s still giving me a 404 error. Any thoughts on how to troubleshoot this?

  35. John

    It tells me

    You don’t have permission to access /dup-installer/lib/dup_archive/daws/daws.php on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    What can I do please?

  36. Prescott Chartier

    I followed the guide step by stem and all I got was a new WordPress site, none of my pages or data migrated. Any ideas?

  37. Ei Salita

    What if there is a “Notice” while trying to make the package? What to do?

  38. prakhar

    hi,
    i have successfully transfered my domain name and wordpress from godaddy to aws.
    now the problem is i have access to the frontend and as an admin i can login, but as i want to go to backend dashboard it says “install wordpress” why it is like so?
    and when i click on any menu link or any other link on site it shows 404 error
    why?
    any help would be much appreciated.
    thanks in advance

  39. Angela Welch

    This made my site migration and launch so extremely easy. I couldn’t believe there was no downtime and how seamless it really was. Thanks for the great tutorial. You just saved me from having a dreadful GoDaddy panic support call. :)

  40. Joe Hoey

    Great tutorial, works just fine.
    However on a site with SSL cannot get it to work.

    Firefox or any other browser won’t contact to the new host. I get the following errors.

    “ Your connection is not secure
    The owner of domain.com did not configure his or her website correctly. To protect your data against theft, Firefox has not connected to this website.

    This website uses HTTP Strict Transport Security (HSTS) to indicate that Firefox can only make a secure connection. This makes it impossible to add an exception for this certificate. “

    Does anyone have suggestions on how to tackle this issue.

    Thanks

    • Eric Young

      If you move a site with SSL certificate, you’ll need to install a new SSL certificate again in order to make it works.

  41. AMAN KUMAR SINGH

    Can i restore my site backup data to new host and can it affect my website seo?

  42. Jim

    This was a fantastic help! Worked perfectly! Thanks!

  43. Stoyan Penev

    Thanks for the detailed guide!

    What about sites with SSL – currently my website has a Let’s Encrypt certificate and the new host provides AutoSSL – can downtime/error be avoid since the latter needs the website to resolve from the new host in order to set up the certificate? And this means there will be a period when the website will load from the new host but the SSL will be missing thus resulting in an error (I think).

    What is you advice in such a situation?

    Regards

    • Eric Young

      You’ll need to install a new SSL certificate after the move.

  44. Pete

    Hey, great guide as always. Love your guides actually haha. One thing I’m a bit unsure of is when uploading the php and zip file via FTP, do I drop those files directly into the /username/public_html/ folder or do I create a folder that refers to my site name within the public_html folder and drop the files there? Thanks for any help!

    • WPBeginner Support

      Hi Pete,

      It depends on your host. If your host needs each domain to have its own directory, then their servers will automatically create one when you add a domain to your hosting account. Otherwise you can upload directly to /public_html/

      管理者

  45. rusty shackleford

    just wanna say cheers, this was shockingly easy to do

  46. Eone

    if I setup in localhost, how to run installer.php in step 6? I can run index.php. I tried localhost/installer.php and myipaddress/installer.php. They weren’t work. nothing in page and no error displayed in page

  47. tolani

    God bless I was able to upload my site but am seeing parent directory on my new website although i havenot delete the old site. pls direct me to how to delete old site after uploading new site

  48. Kwasi

    Thanks for the detailed walkthrough. What if the site you are transferring to already has wordpress content with a domain?

  49. Mark

    Thanks so much. along with the amazing Duplicator plugin, I moved hosts without any issues. I did things offline for a few days as wasn’t too concerned about being 100% online but the process was perfectly workable.

    Appreciate your guides so much!

  50. Sarthak upadhyay

    Hello, after transferring the host, post link will remain same or not. Means, would I have to do changes in my post link .

    • WPBeginner Support

      Hello Sarthak,

      If you are not changing the domain names, then you wouldn’t need to update links. Instead, you will just point your domain to your new host.

      管理者

  51. Chris

    Great article, thank you!
    The only confusion I got is when you said that the root folder should be empty. I got my domain name there already. So, the question is where should I upload my package and installer file? I guess domain folder makes more sense?

    • WPBeginner Support

      Hi Chris,

      If you are seeing your domain name as a folder then that domain name folder is the root folder of your website.

      管理者

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。