name.com免費網域申請

circle-exclamation

當你使用Github student登入後,就可以免費獲得一個網域,為期一年。

你可以先看看原始價格
結帳前的最後確認

將新網域轉址到Heroku

在Heroku上顯示你的Custom Domain Name

circle-exclamation
到Heroku取得DNS target
到Name.com輸入你的DNS target

等候幾分鐘再測試你的網域,應該就可以看到你的服務以及你的custom網域名,但要注意,如果你需要SSL Certificates,必須付費升級為paid dynos。

參考資料

Custom Domain Names for Appsarrow-up-right

Setting Up A Custom Domain For Your Heroku-Hosted Apparrow-up-right

Manually Acquiring an SSL/TLS Certificatearrow-up-right

How to install an SSL Certificate on Heroku?arrow-up-right

由上面文章發現,如果你的網域要SSL Certificate on heroku,你必須要跟heroku買這個服務,一個月20塊。

SSL in Heroku with a custom domainarrow-up-right

Heroku SSL Endpointarrow-up-right

How to setup SSL on Heroku for a Rails Applicationarrow-up-right

Last updated