> For the complete documentation index, see [llms.txt](https://docs.shopone.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shopone.io/cai-dat-ten-mien/tro-ten-mien-ve-shopone/tro-ten-mien-ve-shopone.md).

# 3.1. Trỏ tên miền về ShopOne

### Trỏ tên miền chính (Domain)

Người dùng 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 đó trỏ về địa chỉ của ShopOne: &#x20;

<img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfH5EIGUdp6SalLIZ0zWHnVsdr1J0IykZrR5nej4n8-ubUuy7NhBmHY59Ir6bE3ZYQ6c3QgKfacUiNYEzOWqQJ2XbPyJrlX09ZN7QwLY3GsL4Rs_XK-acrATfgzIGPw7l-4Jc764w?key=esCSHIze93gbmIh433_vf-YE" alt="" data-size="original">

và

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeBL6xnDFUtaPizi1kx63m8No8AmE-eZZjAPHI6zRv0AIj3i5raU3ajCslb0H4nq9t5H3g-QpQsbYL5xUUfVWJ86jSsBXfxB0JrD4Jvxubw9sz_c4H6Gb4WgA41WOSMLHd1A2ABNA?key=esCSHIze93gbmIh433_vf-YE)

{% hint style="info" %}
***Lưu ý:** Khi sử dụng và lên chiến dịch nếu dùng tên miền chính, mọi người nên dùng kèm tiền tố "**www".***
{% endhint %}

### Trỏ tên miền con (Subdomain)

Giả sử tên miền chính của bạn là[ ](http://tenmien.com)**tenmiencuaban.com**, và bạn muốn tạo một tên miền phụ là[ ](http://dangky.tenmien.com)**sanpham.tenmiencuaban.com** thì:&#x20;

Chọn tên miền chính mà 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:

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcpeqgZU2ja1rvCfSfw0vHVO-v1BjC14C19byUIKXg4m-KN6fbB0rZ3TV0iNNA9yCJ7WkAcjbtwhUB6RZPm9wreudttp_ip2fUOJTKIibnb7xL8TaIQvlOY13I2AWgjhvNCQ1pUHw?key=esCSHIze93gbmIh433_vf-YE)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.shopone.io/cai-dat-ten-mien/tro-ten-mien-ve-shopone/tro-ten-mien-ve-shopone.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
