name.com免費網域申請

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

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

將新網域轉址到Heroku

在Heroku上顯示你的Custom Domain Name

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

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

參考資料

Custom Domain Names for Apps

Setting Up A Custom Domain For Your Heroku-Hosted App

Manually Acquiring an SSL/TLS Certificate

How to install an SSL Certificate on Heroku?

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

SSL in Heroku with a custom domain

Heroku SSL Endpoint

How to setup SSL on Heroku for a Rails Application

Last updated

Was this helpful?