# 4.7. Thêm tên miền vào CloudFlare

Trong trường hợp bạn chưa có tài khoản CloudFlare, bạn thực hiện các bước sau để đăng ký để tạo tài khoản:

#### Bước 1: Đăng ký tài khoản tại[ ](https://www.cloudflare.com/)<https://dash.cloudflare.com/login>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfuSQYBR2fedW2iQfqsUvq6ARYN76579fkkUQyYZK3amWAR8oPUFFeqOyVC72Cy_ERCCHpirVowvtY-Sv1kPqaZ4MiTrzlS9JYjvR0L2S8cMDdEGMffq6idhWQcuYxr_WAn_aESxg?key=esCSHIze93gbmIh433_vf-YE" alt=""><figcaption></figcaption></figure>

#### Bước 2: Sau khi đăng nhập vào tài khoản chọn Add a domain

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeF5lYk-7_wAw9Z2mCVvjKqh_bllB41lKIWjeX-m7JqOVZ9C71mBRvgqyJiPvmDRbemErO9DIP89hArwhu4u7B557QF5Z7AE64W9NmB34TF0fYDfl6iu737XIlXsXPr9DVIGIrI?key=esCSHIze93gbmIh433_vf-YE" alt=""><figcaption></figcaption></figure>

Sau đó nhập tên domain bạn cần thêm.

* Chọn quick scan for DNS records CloudFlare sẽ quét các bản ghi từ nơi quản lý tên miền bạn đang sử dụng.
* Manually enter DNS record để thêm mới từ đầu.
* Upload a DNS zone file để upload từ file.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcXCC5WPFupH-5HGjctSxbWGJfteaYJSNSLrs8Hd_dveUPWi4qSlrlVGqjwONkWFmldfAPFaKKU8pWzwUk9AwphtJ_lrEsblJWiJStJ4goajLgoPEcVKZThsg2d7kw9PzCgYwjvGw?key=esCSHIze93gbmIh433_vf-YE" alt=""><figcaption></figcaption></figure>

#### Bước 3: Chọn gói bạn muốn sử dụng rồi bấm Tiếp tục.&#x20;

Ở đây mình đang chọn gói **Free**.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcWXL2Qt8zOaFpJDS5YZv2Z3sya4TwaJEBCjl93cQXqStil_teiUOrJ2TguviG1U-5huLWAufIPADic-vFGQNcPATUAD4rnb_psBofmKB88QJCnvrnreUUGva80Ob2CZ6HSOsq9?key=esCSHIze93gbmIh433_vf-YE" alt=""><figcaption></figcaption></figure>

CloudFlare sẽ chuyển đến màn các danh sách các bản ghi DNS . Ở đây bạn cũng có thể thêm mới hoặc chỉnh sửa bản ghi hiện có sau đó bấm chọn **Continue to activation.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeUm3lmHh98aflL4-WKDCq6KtkmXOIQabGVuQ_9gYLkNPY1vPBH32vf2PCVYzUw8jMX9hidzictqrs1_I7tchgjmPQJTTZMupwNZfR_hJulgLHEV7mndzg6UOsHuTyuWxtTC-DkHw?key=esCSHIze93gbmIh433_vf-YE" alt=""><figcaption></figcaption></figure>

CloudFlare cung cấp 2 bản ghi Name servers, bạn sao chép 02 Namesever này thay thế cho 02 Nameserver của bên cung cấp tên miền. Trong trường hợp bạn không biết thao tác thay đổi nameserver trong quản trị tên miền, xin vui lòng liên hệ với bên cung cấp tên miền, nhờ hỗ trợ thay đổi Nameserver về 2 bản ghi Name server của CloudFlare.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcBEIwjvgvC1mN6YH-i4B-J_8pE596Cbtglph8dBFr_kvq0Ms2XgTC6XzzvZJ3VTUB5wC1L-11cvOkWMCqbciOMzZbVbHHaLr1l2eCrT9-98UTMV8VEVQC0sInwQNNz0iUEWASCUQ?key=esCSHIze93gbmIh433_vf-YE" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
***Lưu ý:** Khi đã trỏ Nameserver về CloudFlare, cấu hình các bản ghi trong quản trị tên miền sẽ không còn hiệu lực. Tât cả các bản ghi sẽ được tạo/cập nhật trong tài khoản CloudFlare.*
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shopone.io/cai-dat-ten-mien/tro-ten-mien-tu-mot-so-nha-cung-cap-pho-bien/them-ten-mien-vao-cloudflare.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
