如何幫GitHub Pages設定自定域名

#20190806更新
如何幫Github Pages的網域啟用HTTPS

Image for post
Image for post

本篇文章將以個人經驗為例,並假設各位讀者已經將頁面上傳至Github

流程說明

  • 185.199.108.153
  • 185.199.109.153
  • 185.199.110.153
  • 185.199.111.153
Image for post
Image for post
至網域公司的DNS設定,將上方185.199開頭的任一組IP輸入,記錄類型選擇A(A記錄),並儲存
Image for post
Image for post
回到Github,前往此專案的Settings頁面
Image for post
Image for post
把你申請的網域輸入並且儲存,就大功告成了

要注意的是,DNS生效需要一段時間,所以請耐心等待吧

Written by

Machine Learning / Deep Learning / Python / Flutter cakeresume.com/yanwei-liu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store