WordPressのAWS移行+ドメイン移管失敗の記録

まえがき

レンタルサーバで運用していた本ブログですが、1年間の更新期間がサイクルの節目であることと、会社でAWSを使った業務に携わることになったことをきっかけに、勉強がてらAWSに移行しようと思いました。
1から10まで綺麗にまとまった記事やサイトが見つけられなかったので、メモがてら記事を執筆していたところ、ドメイン移管に失敗しました・・。
ということで

やりたいこと

  • レンタルサーバで運用しているWordPressのブログサイトを、AWSに移行する

必要な手続き

  1. AWSのアカウント取得
  2. AWS側の環境準備(EC2、Route 53)
  3. レンタルサーバからAWSへブログをコピー
  4. ドメインの切り替え
  5. サイトのSSL化(ACM、ELB)

方針

毎度のことながら、個別の作業ベースではまとめられた良質なブログサイト様があるので、個人的に気になったところのみメモ書きで残します。

作業

AWSとWordPressを使って、自分のブログをつくってみた
→①AWSアカウント登録〜④IPアドレスの固定までの作業で参考にしました。

AWS EC2へWordPressを移行する方法。
→作業をする際は基本的に複数の記事を参照するようにしています。こちらのサイト様からは、全体の流れの確認と、「サーバーファイルの移行」辺りの部分を参考にしました。

All-in-One WP Migration – WordPressのサーバー移設が簡単にできるプラグイン
→wordpressのサイトをまるっと移行することができるプラグイン。便利です。

お名前.comのドメインをAWSで使用する4つの方法
→お名前.comでドメイン取得しており、今回AWSのroute 53にドメイン移管で切り替える為参考にしました。・・が、失敗します。

ドメイン移管失敗

いろいろ調べてみた結果、「whois情報公開代行設定」が原因となった模様。
お名前.com から Route53 へのドメイン移管を行ってみよう(Azure DNS はどうなの)

通常、この「whois情報公開代行設定」がONのままだと、route53へドメイン移管の登録の前段階で警告がでるそうですが、残念なことに、私はドメイン取得してからこれまでの間設定しておらず、何を思ったか、ドメイン移管の登録申請後、審査中の期間にこの設定をONにしました。結果、「whois情報が取得できないからドメイン移管に失敗したよ」とAWSさんから通知がきて、みごと申請料の11.88ドル(税込)を無駄にしました。orz (勉強代が発生すると本気でいろいろ調べるので、いい経験になりますね。)

ドメイン移管に失敗したため、気を取り直してDNSサーバの設定で一時しのぎします。ドメイン移管はもう少しAWSの勉強してからいずれ再挑戦します。

お名前.comで取得したドメインをAmazon EC2に紐付ける
→反映まで24時間から最大72時間かかるとのこと。待ちます。

待っている間に、ブログのSSL化を行います。

AWSでWebサイトをHTTPS化 その7:CloudFront(+証明書)→EC2編
→個人ブログでEC2インスタンス複数+ロードバランサ(ELB)の構成は月額料金のハードルが高かったので、今回は無料枠のあるCloudFrontでの構築を試みました。が、これもうまく行きません。。いろいろ調べた結果、やっぱりELBを利用してやろうという結論にいたりました。というかそもそもロードバランサをインスタンス1台で利用するという発想がなかったのです。

AWSを使って、無料でサイトを常時SSL化 全手順(EC2+Word Press+ELB+Certificate Manager+Route 53)
→こちらの記事がとても参考になりました。ELBを利用したSSL化やHTTP→HTTPSのルーティングがよくまとまっています。

移行後確認作業

Bitnamiのロゴが邪魔!
→スマホでサイトに接続したところ、右下にバナーがでるのが煩わしかったため、これの削除を行います。

これで晴れてAWSへのブログ移行が済みました。めでたしめでたし。

WordPressのAWS移行+ドメイン移管失敗の記録」への36件のフィードバック

  1. kağıthane masaj salonu

    Greetings from Colorado! I’m bored at work so I decided to
    check out your website on my iphone during lunch break.
    I enjoy the information you present here and can’t wait to take a look when I get home.
    I’m surprised at how fast your blog loaded on my cell phone ..
    I’m not even using WIFI, just 3G .. Anyhow, awesome blog!

    istanbul escort
    şirinevler escort
    taksim escort
    mecidiyeköy escort
    şişli escort

    返信
  2. beyazıt masaj salonu

    Wonderful goods from you, man. I have understand your stuff previous to and you’re just extremely wonderful.
    I really like what you have acquired here, certainly like what you’re stating and the way in which you say it.
    You make it entertaining and you still care for to keep it wise.
    I cant wait to read far more from you. This is really a great web site.

    istanbul escort
    şirinevler escort
    taksim escort
    mecidiyeköy escort
    şişli escort

    返信
  3. anchortext

    A player does not need to spend your time and cash in travelling to a land based online casinos also have
    introduced live dealers as a consequence of that they can can feel the specific atmosphere of your casino.
    Directory listing is one from the prizewinning ways to situate the cognate
    sites. You endow a risk in blackjack by placing banknote agency front of
    you. http://acemodeling.com/cgi-bin/out.cgi?ses=Tj4QvX7sjI&id=175&url=http://casinoview.net/baccarat/

    返信
  4. official website

    554342 840252After study a handful of the content material inside your internet site now, and that i genuinely such as your method of blogging. I bookmarked it to my bookmark web internet site list and are checking back soon. Pls appear into my site as properly and tell me what you believe. 977150

    返信
  5. anchortext

    The excitement you feel and experience when playing a Free Slot machine game cannot be overemphasized.
    Seemly directory humbleness substance that this hunting engine spiders
    leave superior the course provided inside humility.
    One of the advantages you should have, can be your treating your
    personal casino environment. https://metager.de/meta/meta.ger3?eingabe=trpz.org%2Fgatsbycasino%2F&%25252Fcontact.php&pc=conduit&ptag=A1ABE2870D3204E8590F&form=CONADR&conlogo=CT3210127

    返信
  6. anchortext

    The excitement you feel and experience when playing a
    Free Slot machine game cannot be overemphasized. Seemly directory humbleness
    substance that this hunting engine spiders leave superior the course provided inside humility.
    One of the advantages you should have, can be your treating your personal casino environment. https://metager.de/meta/meta.ger3?eingabe=trpz.org%2Fgatsbycasino%2F&%25252Fcontact.php&pc=conduit&ptag=A1ABE2870D3204E8590F&form=CONADR&conlogo=CT3210127

    返信
  7. Income Tax Services

    290164 373890A person necessarily lend a hand to make severely posts Id state. This is the very first time I frequented your web page and to this point? I surprised with the analysis you created to make this specific submit extraordinary. Magnificent method! 81357

    返信
  8. anchortext

    A amount of online bookmakers also provide TAB pattern betting,
    in most all cases at much better rates, for their generate profits margin is smaller.
    If you match some numbers, you win, and the funds are distributed to any or all winners based on the amount of matches which they have.
    There are also individuals who bet simply to support their best team in the particular sport. http://fre.sh.wa.ter.jf.z.z@casinovil.com

    返信
  9. realtree camo cornhole boards

    671166 238952Hi there. Quite cool site!! Guy .. Beautiful .. Fantastic .. I will bookmark your internet site and take the feeds additionallyI am glad to locate so much helpful info appropriate here in the write-up. Thanks for sharing 940037

    返信
  10. anchortext

    I don’t want to say they always manage to win but at the
    very least they manage always to be in profit.
    They’re just additionally released using regulation that can prohibit
    the utilization of a real income together with help it
    become some form of felony to help enjoy and earn available matches using real
    cash gambling included for any people who have Queensland.
    There are also those who bet only to support a common team in a very particular sport. http://xahynkakimig.mihanblog.com/post/50

    返信
  11. Resin Pellets for Cornhole Bags

    759400 946383Oh my goodness! a wonderful write-up dude. Thanks a good deal Nonetheless We are experiencing trouble with ur rss . Do not know why Not able to sign up to it. Possibly there is anybody acquiring identical rss difficulty? Anyone who knows kindly respond. Thnkx 248586

    返信
  12. https://placervillehomes.com

    962428 283336Incredibly best man toasts, nicely toasts. is directed building your personal by way of the wedding celebration as a result are supposed to try to be witty, amusing and consequently unusual as well as. finest mans speech 144585

    返信
  13. 더킹카지노

    In general, the first online casino being corporatized was Gaming VC company
    (LSE: GVC), better known as Casino Club,
    among the leaders in the German-speaking market, and in addition on the list of roulette fans.
    On a similar note, one should make certain that their bank allows the monies
    to become received at their bank. As always with bonus offers though, please ensure that you simply browse the
    fine print before signing up for the kids, especially in case you
    can be a first-time player. https://www.casinovil.com/thekingcasino

    返信
  14. ya-to.ru

    A number of other features also differ from door to door that are
    to get calculated quickly and accurately by a real professional.
    Whether you’re bored of the old countertops and desire a fresh style to add charm to your kitchen OR if
    your counter tops badly need fixing, take this opportunity to acquire new ones.
    Before you begin painting your all wood windows,
    check out these pointers and techniques and you’ll be sure to obtain the job
    done with no problems.

    返信
  15. technology

    482230 235007A person essentially lend a hand to make significantly articles I may well state. That is the quite first time I frequented your site page and up to now? I amazed with the research you made to create this particular publish incredible. Excellent activity! 668314

    返信
  16. istanbul escort

    Hi, i think that i saw you visited my blog thus i came to “return the favor”.I’m
    trying to find things to enhance my web site!I suppose its ok to use a few of your ideas!!

    istanbul escort
    şirinevler escort
    taksim escort
    mecidiyeköy escort
    şişli escort
    istanbul escort
    kartal escort
    pendik escort
    tuzla escort
    kurtköy escort

    返信
  17. 바카라

    So if you would like to get into sports betting, you have to ask yourself if you need
    to get a bookie or not. In addition, the teams play one game a week, that makes it much more easier for follow farmville, unlike basketball
    or football where matches are played every day. If you keep using their service, you’ll
    gradually progress the ranks. https://trpz.org/baccarat/

    返信
  18. dây thừng

    This excellent website definitely has all of
    the info I wanted about this subject and didn’t know who to ask.

    Phát Á luôn sẵn lòng lắng nghe toàn bộ quan điểm, góp một phần, chưa
    hiểu của người tiêu dùng về dây thừng.
    Đội ngũ tư vấn tại công ty chúng tôi
    sẽ trả lời nhanh chóng đồng thời đơn vị chúng tôi
    luôn góp ý chi tiết tận tình mọi thắc mắc. Như là quý quý khách có thể yên lòng khi trải qua tại
    cty công ty chúng tôi. Toàn bộ chi tiết đóng góp quý vị có thể liên can tiến sát gần qua những thông tin bên dưới:

    CÔNG TY TNHH PHÁT Á
    Hotline: 0903.757.660 – 0906.908.977 – 0932.189.972
    Địa điểm: 362/6B Ung Văn Khiêm, P. 25, Quận Bình Thạnh, TP.
    Hồ Chí Minh
    Website: daythung.vn/B]
    Tags:lưới đánh cá, cáp thép inox, dây thép inox, dây
    thép không gỉ, dây cuốn rơm

    返信
  19. gia cua cuon

    Have you ever thought about writing an ebook or guest authoring on other sites?
    I have a blog based on the same subjects you discuss and would love to have
    you share some stories/information. I know my
    viewers would appreciate your work. If you’re even remotely interested, feel free to shoot me an email.

    #cuacuonnguyengia #congtycuacuonnguyengia

    Để giải đáp các thắc mắc khó hiểu cũng như những đóng
    góp góp phần cho Nguyễn Gia về cửa cuốn. Quý khách hàng
    có thể liên hệ đến công ty chúng tôi thông qua các thông tin bên dưới, đơn vị chúng tôi sẽ liên hệ
    lại với khách hàng trong quá trình sớm
    nhất.

    CÔNG TY TNHH TM TƯ VẤN QUỐC TẾ NGUYỄN GIA
    Điện thoại: 0903.05.01.37 – 0903.04.01.37 – 028.6681.7586
    Trang chủ: cuacuonnguyengia.com
    Địa điểm: 899 Hoàng Sa. Phường 11. Quận 3.
    TP.HCM
    Tags: cua cuon mitadoor, cửa cuốn mitadoor, giá 1 bộ cửa
    cuốn, cửa cuốn giá bao nhiêu

    返信
  20. 모바일카지노

    In this way, customers can have a great chance to get
    familiarize with the sports they selected through the wide range
    of sports lists available from the company. You must understand probability & regulations of
    averages will explain, that when you toss a coin one
    hundred times, you are going to roughly get about fifty heads & fifty tails,
    but to acquire there you might easily get seven or eight consecutively of the same side, always bear this planned when playing
    the roulette wheel, as I have personally had thirteen reds & eleven blacks back to back at different times, playing on the
    roulette wheel. Certain bookies will tie in complimentary bonuses
    in the areas with their site. https://duthel.org/mobilecasino/

    返信

コメントを残す

メールアドレスが公開されることはありません。