# 9. Quản lý tên miền

## **Bước 1: Trỏ tên miền về hosting của** eCommerc&#x65;**.** <a href="#buoc-1-tro-ten-mien-ve-hosting-cua-ladipage" id="buoc-1-tro-ten-mien-ve-hosting-cua-ladipage"></a>

***Trỏ tên miền chính:***

Vào phần quản trị tên miền ở nơi bạn mua tên miền và cấu hình **2** bản ghi sau để điều hướng tên miền đó về địa chỉ của eCommerce

**Host record: www**&#x20;

**Type (Loại): CNAME**&#x20;

**Value (Giá trị): dns.ladisales.com**

**Host record: @**&#x20;

**Type (Loại): A**&#x20;

**Value (Giá trị):** [**13.229.38.226**](https://l.facebook.com/l.php?u=http%3A%2F%2F13.229.38.226%2F\&h=ATO-Lw48S5DIK2SBtURWzDP_BVkaQOfHKXGc2cn8ZfyjZUtDYBinL5YTsGCi8m8RZDRoBX9hl1l9vhjvKuFrLjBJjcWCZkn8Fg1TRb1eukpe6MbkmGhyidmh0VkQCVdsF6EeSnMNgPD_)**​**

***Trỏ tên miền phụ:***

Giả sử tên miền chính của bạn là tenmiencuaban.com, và bạn muốn tạo một tên miền phụ là checkout.tenmiencuaban.com thì:&#x20;

Chọn tên miền chính bạn muốn cài đặt, sau đó tạo một bản ghi mới và điền các giá trị như sau:&#x20;

**Host record:** checkout

**Type (Loại): CNAME**&#x20;

**Value (Giá trị):** [**dns.ladi**](http://dns.ladipage.com/)**sales.com​**

## Bước 2: Tạo và xác thực tên miền,bật SSL tại eCommerce

Truy cập vào mục **Thiết lập -> Quản lý tên miền**, bạn điền tên miền vào mục Tạo tên miền mới và bấm xác thực, bật SSL cho tên miền để sử dụng&#x20;

{% embed url="<https://prnt.sc/fxUVrb16VAzw>" %}

{% hint style="info" %}
Chọn đúng loại  tên miền : trang thanh toán sản phẩm/ trang khóa học/ trang cửa hàng cần sử dụng , tên miền sau khi xác thực thành công sẽ không cho phép đổi loại, sẽ phải tạo đi tạo mới lại&#x20;
{% 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://ladipage-vietnam.gitbook.io/v5-ecommerce/vi.cai-dat/ten-mien.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.
