Lộ trình cho website hoặc API đang chạy: kiến trúc, khi nào dùng từng lớp, rồi lab bấm theo trên dashboard.A path for a live website or API: the architecture, when to use each layer, then a dashboard lab.A path for a live website or API: the architecture, when to use each layer, then a dashboard lab.
Phần 1: Đưa domain lên CloudflarePart 1: Onboard your domainផ្នែក 1: Onboard domain របស់អ្នក
·
Bài 1/3 Lesson 1/3 Lesson 1/3
Kiến thứcKnowledgeKnowledgeKhoảng 12 phútAbout 12 minAbout 12 min
DNS trên Cloudflare: full setup, CNAME setup, và đám mây camDNS on Cloudflare: full setup, CNAME setup, and the orange cloudDNS on Cloudflare: full setup, CNAME setup, and the orange cloud
Full setup nghĩa là Cloudflare giữ DNS của domain (bạn đổi nameserver). CNAME setup (còn gọi partial) giữ DNS ở nhà cung cấp cũ và chỉ đưa một số hostname qua Cloudflare. Chỉ bật proxy cho hostname public.Full setup means Cloudflare holds the domain’s DNS (you change nameservers). CNAME setup (also called partial) keeps DNS at your current provider and sends only some hostnames through Cloudflare. Proxy only public hostnames.Full setup means Cloudflare holds the domain’s DNS (you change nameservers). CNAME setup (also called partial) keeps DNS at your current provider and sends only some hostnames through Cloudflare. Proxy only public hostnames.
Cách hoạt độngHow it worksHow it works
Ở full setup, registrar trỏ nameserver sang Cloudflare. Cloudflare trả lời mọi bản ghi: A, AAAA, CNAME, MX, TXT. Bản ghi A, AAAA hoặc CNAME có thể Proxied (cam) hoặc DNS only (xám). MX không proxy được. Ở CNAME setup, bạn tạo CNAME bên DNS cũ trỏ tới tên Cloudflare cấp.On a full setup, the registrar points nameservers at Cloudflare. Cloudflare answers every record: A, AAAA, CNAME, MX, TXT. An A, AAAA, or CNAME can be Proxied (orange) or DNS only (grey). MX cannot be proxied. On a CNAME setup, you create a CNAME at the old DNS that points at the name Cloudflare gives you.On a full setup, the registrar points nameservers at Cloudflare. Cloudflare answers every record: A, AAAA, CNAME, MX, TXT. An A, AAAA, or CNAME can be Proxied (orange) or DNS only (grey). MX cannot be proxied. On a CNAME setup, you create a CNAME at the old DNS that points at the name Cloudflare gives you.
Kiến trúcArchitectureArchitecture
Khách hỏi DNS trước. Nếu record cam, IP trả về là IP Cloudflare và HTTP đi qua proxy. Nếu record xám, IP là origin và Cloudflare không thấy HTTP. Email (MX) phải đi thẳng tới máy mail, không qua proxy web.The visitor asks DNS first. An orange record returns a Cloudflare IP and HTTP goes through the proxy. A grey record returns the origin IP and Cloudflare never sees the HTTP. Mail (MX) must go straight to the mail server, not through the web proxy.The visitor asks DNS first. An orange record returns a Cloudflare IP and HTTP goes through the proxy. A grey record returns the origin IP and Cloudflare never sees the HTTP. Mail (MX) must go straight to the mail server, not through the web proxy.
Khi nào dùngWhen to use itWhen to use it
Dùng full setup khi bạn đổi được nameserver. Đó là cách phổ biến, và là cách duy nhất trên Free và Pro. Dùng CNAME setup khi bạn không đổi được DNS chính và chỉ cần proxy vài subdomain.Use full setup when you can change nameservers. That is the common path, and the only one on Free and Pro. Use CNAME setup when you cannot move authoritative DNS and you only need to proxy a few subdomains.Use full setup when you can change nameservers. That is the common path, and the only one on Free and Pro. Use CNAME setup when you cannot move authoritative DNS and you only need to proxy a few subdomains.
Khi nào không dùngWhen not to use itWhen not to use it
Đừng bật proxy cho MX, hay cho hostname chỉ dùng nội bộ. Tắt DNSSEC ở registrar trước khi đổi nameserver. Nếu không, domain có thể không phân giải. CNAME setup không phải Cloudflare for SaaS (Custom Hostnames): sản phẩm đó cấp hostname cho khách của bạn, không phải cách đưa zone của bạn lên Cloudflare.Do not proxy MX, or a hostname that should stay internal. Turn DNSSEC off at the registrar before you change nameservers. If you do not, the domain may fail to resolve. CNAME setup is not Cloudflare for SaaS (Custom Hostnames): that product issues hostnames for your customers, it is not how you onboard your own zone.Do not proxy MX, or a hostname that should stay internal. Turn DNSSEC off at the registrar before you change nameservers. If you do not, the domain may fail to resolve. CNAME setup is not Cloudflare for SaaS (Custom Hostnames): that product issues hostnames for your customers, it is not how you onboard your own zone.
Gói và giới hạnPlans and limitsPlans and limits
CNAME setup (partial) chỉ có trên Business và Enterprise. Free và Pro chỉ dùng full setup. Partial không dùng được với domain đăng ký tại Cloudflare Registrar. Nguồn: https://developers.cloudflare.com/dns/zone-setups/partial-setup/ https://developers.cloudflare.com/dns/nameservers/update-nameservers/ (2026-11-11).CNAME setup (partial) is Business and Enterprise only. Free and Pro use full setup only. Partial setup is not supported on Cloudflare Registrar domains. Sources: https://developers.cloudflare.com/dns/zone-setups/partial-setup/ https://developers.cloudflare.com/dns/nameservers/update-nameservers/ (2026-11-11).CNAME setup (partial) is Business and Enterprise only. Free and Pro use full setup only. Partial setup is not supported on Cloudflare Registrar domains. Sources: https://developers.cloudflare.com/dns/zone-setups/partial-setup/ https://developers.cloudflare.com/dns/nameservers/update-nameservers/ (2026-11-11).
Không phải báo giá. Đối chiếu docs và dashboard. Kiểm tra lần cuối: 2026-11-11.Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11.Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11.
Thuật ngữGlossaryGlossary
NameserverNameserverNameserveri
Máy chủ mà registrar hỏi để biết domain của bạn nằm ở đâu. Full setup thì đó là nameserver Cloudflare.The servers your registrar asks to find where the domain lives. On a full setup, those are Cloudflare’s nameservers.The servers your registrar asks to find where the domain lives. On a full setup, those are Cloudflare’s nameservers.
Cam = Proxied. Xám = DNS only. Chỉ A, AAAA và CNAME mới bật cam được.Orange = Proxied. Grey = DNS only. Only A, AAAA, and CNAME records can be orange.Orange = Proxied. Grey = DNS only. Only A, AAAA, and CNAME records can be orange.
Lab nằm ở bài riêng. Đọc ý chính trước, rồi mở lab.Labs live on their own pages. Read the main ideas, then open a lab.Labs live on their own pages. Read the main ideas, then open a lab.
Ví dụ chính thức từ Cloudflare Resources — gợi ý theo chủ đề bài học trong lộ trình này.Official examples from Cloudflare Resources — matched to this lesson within this path.Official examples from Cloudflare Resources — matched to this lesson within this path.
Hướng dẫn này sử dụng Managed HSM của Microsoft Azure để triển khai một VM với keyless SSL daemon. Làm theo các hướng dẫn này để triển khai máy chủ không chìa khóa của bạn.
This tutorial uses Microsoft Azure's Managed HSM to deploy a VM with the Keyless SSL daemon. Follow these instructions to deploy your keyless server.
ការបង្រៀននេះប្រើ Microsoft Azure's Managed HSM ដើម្បីដាក់ពង្រាយ VM ជាមួយនឹងដេមិន Keyless SSL ។ អនុវត្តតាមការណែនាំទាំងនេះ ដើម្បីដាក់ឱ្យប្រើម៉ាស៊ីនមេដែលគ្មានសោរបស់អ្នក។
Học xong hoặc muốn đổi hướng?Finished or want a different path?Finished or want a different path?
Ba lộ trình độc lập — mỗi lộ trình chỉ gồm bài học và tài liệu trong phạm vi đó. Chọn lộ trình khác khi sẵn sàng, không cần học song song.Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.