5
3

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 5 years have passed since last update.

Google App Engine へのカスタムドメイン設定(Google Domains)

5
Posted at

前提

・Google Domains でドメインを取得済
・Google App EngineでWebサービス等を公開中

設定方法

GCPプロジェクト

App Engine > 設定 > カスタムドメイン > カスタムドメインを追加

スクリーンショット 2019-04-09 0.04.06.png

使用するドメインを選択する

 使用したいドメインを選択して「続行」を押下。
 すでにGoogle Domainsでドメイン取得済であれば、選択できるようになっているはず。

ドメインを【ProjectName】に指定する

 サブドメインを入れる場合は、追加してから「マッピングを保存」を押下。

DNSレコード更新してセキュリティを有効化する

スクリーンショット 2019-04-09 0.04.32.png
 DNSレコードが表示されたら、「完了」を押下。
 以下のように表示されていればOK
スクリーンショット 2019-04-09 0.05.44.png

Google Domains

Google Domains にアクセス

上で設定したマイドメインの「管理」を選択

スクリーンショット 2019-04-09 0.09.16.png

サイドメニューからDNSを選択し、下部のカスタムリソースレコードを設定

設定する項目は上記のApp Engineの設定で表示されたレコードの内容。
以下のように設定。時間が経てばアクセスできるようになるはず。
スクリーンショット 2019-04-09 0.10.02.png

リソースレコードの設定方法は、Googleが丁寧に書いてくれている。
https://support.google.com/domains/answer/3290350?hl=ja

以上

5
3
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
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?