> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.teachify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Teachify 自訂網域教學｜Cloudflare 設定指南


# 如何使用 Cloudflare 綁定 Teachify 自訂網域？

首先，請先決定你要用主網域進行設定，或是用子網域進行設定？  

主網域就像是 teachify.tw、而子網域就像是 blog.teachify.tw 多了個前綴 blog，此時 blog 就是 teachify.tw 的子域名（subdomain）。  
  
決定好要用哪一個之後，請參考以下教學。

1. 進入 Cloudflare 後台選取欲設定的網域名稱，點選畫面左方選單「 DNS 」。

![](https://storage.crisp.chat/users/helpdesk/website/31e42744710f7a0/image_1wt4qwd.png)
2. 若欲使用「 **子網域**」，則新增設定值如下圖：

* 類型： CNAME
* 名稱： school
* 目標： **cname.myteachify.com** ⭢ 請直接複製這整段粗體內容值，然後貼上！
* Proxy 狀態：關閉、僅 DNS（一定要記得關閉）
* TTL：自動

名稱部分，可自行使用任意英文字、數字以及 - 符號，不得有空白或其他特殊符號。

![](https://storage.crisp.chat/users/helpdesk/website/31e42744710f7a0/image_1urm5zp.png)

3. 若欲使用「 **主網域**」名稱，則新增設定值如下圖：

* 類型： A
* 名稱： ＠
* IPv4 位置： 76.76.21.21
* Proxy 狀態：關閉、僅 DNS（一定要記得關閉）
* TTL：自動

![](https://storage.crisp.chat/users/helpdesk/website/31e42744710f7a0/image_1gmz70w.png)

如以上說明都無法解決你的問題，請點選右下角藍色 icon 跟我們聯絡，我們將盡快回覆。
