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.

AWS 一つのEBに複数ドメイン割り当てる方法

Posted at

A.com ← 割り当てたいドメイン
ORG.com ← 本来のEBのドメイン

Route53 (A.comをcloudfrontに向けて設定)
↓
cloudfront (オリジン:ORG.comに向けて、CNAMEでA.comを設定。ACMもA.comのものを使う)
↓
EB (ドメイン設定はORG.com)

順番的には下から構築していけば楽なはず

EB(というかEC2)側で、phpだったら$_SERVER["SERVER_NAME"]すると "A.com" が取得出来ます。

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?