1.申請 Github帳號
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-63.png?fit=640%2C424&ssl=1)
2.申請完之後開請新的專案
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-64.png?resize=640%2C555&ssl=1)
3. 輸入資訊,最後一像我都有打勾
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-66.png?resize=640%2C519&ssl=1)
4. 之後選擇settings
![](https://i2.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-67.png?fit=640%2C359&ssl=1)
5.往下找選到主題
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-68.png?fit=640%2C298&ssl=1)
6. 新手常常忘記要按提交(對就是我)
![](https://i2.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-69.png?fit=640%2C251&ssl=1)
7. 已經有網址囉!
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-70.png?resize=640%2C522&ssl=1)
——————————以下開始申請免費Domain————————
1.Google freenom 找到他並且輸入你要的網址,檢查可用性
![](https://i2.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-71.png?fit=640%2C303&ssl=1)
2. 選擇一個免費你要的網址
![](https://i2.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-72.png?fit=640%2C339&ssl=1)
3. 超過12個月要付費,我都剛好選12個月
![](https://i1.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-73.png?fit=640%2C247&ssl=1)
4. 申請好後會較你付款申請帳號,好了後右上角選擇Services選My Domains
且選擇Manage Domain這個選項
![](https://i1.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-74.png?fit=640%2C324&ssl=1)
5. 選擇管理你的DNS
![](https://i1.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-76.png?fit=640%2C290&ssl=1)
6. 去GOOGLE Github DNS IP 會有你自己獨有的DNS IP,選第一個網址進去看
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-75.png?resize=640%2C254&ssl=1)
7. 看完之後去freenom設定
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-77.png?resize=640%2C380&ssl=1)
8. Type A 都輸入 IP 我TTL都選擇14400,最後一項要選CNAME 且 www要加 Targets選我們剛剛申請的網址 只要輸入 test94879487.tk 不要前面的http
![](https://i1.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-79.png?fit=640%2C261&ssl=1)
9. 再來回來剛剛的專案,選擇code建立新檔案
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-80.png?fit=640%2C306&ssl=1)
10. 檔名一定要叫CNAME ,內容一樣你申請的網址,一樣不能有http
![](https://i2.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-81.png?fit=640%2C252&ssl=1)
11. 建立好之後,回來settings 在custom domain輸入你要的網址且 Save
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-82.png?resize=640%2C448&ssl=1)
12. 成功囉!! 如果沒成功導向你的免費網址,github會跟你說喔!
![](https://i0.wp.com/mrcodingroom.freesite.host/wp-content/uploads/2019/01/image-83.png?resize=640%2C480&ssl=1)
是不是很簡單呢? 建立一個網站+申請Domain不用10分鐘喔範例連結tk結尾的連結過期後,
全部變成導向色情網站的連結,
母湯歐北亂點= =
@copyright MRcodingRoom
觀看更多文章請點MRcoding筆記
觀看更多文章請點MRcoding筆記
Fastly error: unknown domain: test94879487.tk. Please check that this domain has been added to a service.
Details: cache-nrt6135-NRT
網域掛惹 QQ
我修正了,可以開了 哈哈,之前那個DNS IP複製錯誤 XD