LoginSignup
3
1

More than 5 years have passed since last update.

Google Domains + HerokuでSSL通信を使ったオリジナルドメインサイトのための設定

Posted at

前提

間違っている、この方がいいのではなどありましたらコメントいただけますと嬉しいです。

Google Domains の設定

DNS の設定 (Configure DNS)に行き、以下のように設定

  • 合成レコード (Synthetic records)を下記画像のように設定。黒塗りのところは使うドメインです(例:yourdomain.com)。 スクリーンショット 2017-08-22 14.35.45.png
  • カスタム リソース レコード (Custom resource records)を下記画像のように設定 スクリーンショット 2017-08-22 14.48.30.png

Heroku の設定

  • ターミナルから heroku domains:add www.yourdomain.com を実行
  • heroku.comに行き、Appを開いて、Resourcesに行き、ChangeをクリックしてHobby(月7ドル)を選択
  • Settingsに行き、Domains and certificatesで、Configure SSLをクリック、Automaticallyを選択しContinueをクリック

今後調査メモ

Google Domains + Heroku + Let's Encryptで Heroku の無料プランでSSL通信出来ないか

Let's Encrypt 総合ポータル

参考

Herokuで独自ドメインを割り当てる(お名前.com)

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