0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

お名前ドットコムとムームードメインとALBとACM

Last updated at Posted at 2021-08-09

現状→完成図(一部)

image.png

作業順

現状確認 ↓ https化するための証明書の作成(要お名前ドットコムでのCNAME登録) ↓ 証明書を使ってALBを作成 ↓ Route53でサブドメインのAレコードをALBにして登録 ↓ お名前ドットコムでのALBのCNAME登録 ↓ 動作確認

前提

所有ドメイン ドメイン管理 現在のネームサーバ index.htmlの場所 現在
ドメインA お名前ドットコム レンタルサーバー RSプラン レンタルサーバー RSプラン http://ドメインA
ドメインB お名前ドットコム レンタルサーバー RSプラン レンタルサーバー RSプラン http://ドメインB
ドメインC ムームードメイン ムームーDNS 置いていない 設定なし

※レンタルサーバー RSプラン:お名前ドットコムのサービス
※ムームーDNS:ムームードメインのサービス

注意点

★お名前ドットコムやムームードメインのネームサーバで管理します

ムームードメイン

①ムームーDNSを使用する、にします

image.png

② CNAMEにして、ACM証明書のCNAME情報を入力します。

image.png

image.png

ムームードメインは、値の最初の「_」は、あっても認証できました。。

お名前ドットコム

①ムームードメインと同じように、ACM証明書のCNAME情報を入力します。
image.png

※値の_は外すこと!!

②お名前ドットコムは、DNSレコード用ネームサーバを使う設定にします(今回は)

image.png

image.png

ALBを作成します

を参考に作ります。

EC2の準備をします

httpd を有効にして、index.htmlも置きます
EC2のSGで、ALBを指定します。

お名前ドットコムまたはムームードメインにALBを登録します

image.png

ALBがhealthyになっているか確認します

image.png

curlコマンドで確認します

すごくわかりやすかった

ブラウザで確認します

手持ちのFireFox,Edge で確認します

が、chromeはwwwが省略されるようです。(知らなかった)

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?