# Xuất bản Domain riêng

Để trỏ **Tên miền** vào Appon trước hết bạn phải thuê phần mềm quản lý tên miền.

Bạn có thể trỏ tên miền phụ hoặc tên miền chính của bạn vào Appon như sau ấn **Publish**![](/files/LS0n3mk4HmYCh9jxVnbU)và chọn **Publish with Domain**:

* Tên miền chính(Domain) :&#x20;

  \+ Điền tên miền chính của bạn tại phần "(1) Enter your domain". Ví dụ: tranduythanh.net

  \+ Sau khi điền xong tên miền bấm Create TXT record (2)![](/files/qLxhq4pFuLisvf36x4oC)

  \+ Tiếp theo bạn mở phần mềm quản lý tên miền của bạn và tạo bản ghi mới, chúng ta sẽ tạo 2 bản ghi: \
  \* Bản ghi 1: Type : A; Name : @ (hoặc tên miền chính); Content : [54.251.167.215](http://54.251.167.215) >> bấm save\
  \* Bản ghi 2:Typle : TXT; Name @ (hoặc tên miền chính); Content : là đoạn mã bạn đã tạo ở bước 2 Create TXT Record >> bấm save

  \+ Sau khi tạo xong 2 bản ghi quay lại Appon đợi 1 chút để tên miền mới được ghi nhận và ấn **Publish**

![Bản ghi 1](/files/DYXNhaHjtj8cOTMwu5Ek) ![Bản ghi 2](/files/OSKc3NNZ1beelxaHgGPJ)

* Tên miền phụ(SubDomain): gần tương tự như tên miền chính

  \+ Điền tên miền phụ của bạn tại phần "(1) Enter your domain". Ví dụ: profile.tranduythanh.net

  \+ Sau khi điền xong tên miền bấm Create TXT record (2)![](/files/qLxhq4pFuLisvf36x4oC)

  \+ Tiếp theo bạn mở phần mềm quản lý tên miền của bạn và tạo bản ghi mới, chúng ta sẽ tạo 2 bản ghi: \
  \* Bản ghi 1: Type : CNAME; Name : profile(tên subdomain của bạn); Content : cname.botup.io >> bấm save\
  \* Bản ghi 2:Typle : TXT; Name @ (hoặc tên miền chính); Content : là đoạn mã bạn đã tạo ở bước 2 Create TXT Record >> bấm save

  \+ Sau khi tạo xong 2 bản ghi quay lại Appon đợi 1 chút để tên miền mới được ghi nhận và ấn **Publish**&#x20;

![Bản ghi 1](/files/Hd0ORiSgDSog44L32HpD) ![Bản ghi 2](/files/OSKc3NNZ1beelxaHgGPJ)


---

# 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://tailieu.appon.vn/huong-dan-nang-cao/huong-dan-tro-domain-vao-app..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.
