Lộ trình đang học Current learning path

Application Services Application Services

Bảo vệ và tăng tốc website, application và API. Protect and accelerate websites, applications, and APIs.

Về trang lộ trình Track home

Phần 1: Đưa domain lên Cloudflare Part 1: Onboard your domain · Bài 2/2 Lesson 2/2

Bật proxy (orange cloud) đúng record Enable proxy on the right records

Proxy các record phục vụ HTTP/HTTPS public (website, API gateway). Giữ DNS only cho record chỉ dùng nội bộ hoặc dịch vụ đặc biệt. Proxy records serving public HTTP/HTTPS (website, API gateway). Keep DNS only for internal-only or special services.

Các bước thực hiện Step-by-step

  1. Mở DNS → Records cho zone vừa onboard. Open DNS → Records for your onboarded zone.
  2. Bật proxy (đám mây cam) cho record website/API public (A, AAAA, CNAME). Enable proxy (orange cloud) on public website/API records (A, AAAA, CNAME).
  3. Giữ DNS only (xám) cho MX, internal hostname, record không cần qua edge. Keep DNS only (grey) for MX, internal hostnames, records that should not hit the edge.
  4. Verify bằng `dig` hoặc browser — traffic HTTP/S phải qua Cloudflare. Verify with `dig` or browser — HTTP/S traffic should pass through Cloudflare.

Giải thích chi tiết Detailed explanation

Proxy là công tắc bật WAF, cache, SSL edge. Không proxy = Cloudflare chỉ trả lời DNS, không bảo vệ hay tăng tốc HTTP. Proxy is the switch for WAF, cache, and edge SSL. Without proxy, Cloudflare only answers DNS — no HTTP protection or acceleration.

Lưu ý (best practices) Note (best practices)

Sau khi DNS ổn định, kiểm tra kỹ từ nhiều vị trí và cho mọi dịch vụ quan trọng trước khi bật proxy — rồi mới tận dụng thêm tính năng bảo mật/hiệu năng của Cloudflare. After DNS is stable, test thoroughly from multiple locations and for all critical services before enabling proxy — then explore Cloudflare security and performance features.

Nguồn: Source: DNS — Key considerations and best practices summary DNS — Key considerations and best practices summary

Ví dụ triển khai (Cloudflare Resources) Deployment examples (Cloudflare Resources)

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.

Xem thêm ví dụ trong lộ trình → More examples in this path →

Tài liệu Cloudflare Developers Cloudflare Developer docs

Sản phẩm liên quan Related products

Học xong hoặc muốn đổi hướng? 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.

Chưa chắc — làm bài chọn lộ trình Not sure — use the path selector · So sánh cả ba lộ trình Compare all three paths