> For the complete documentation index, see [llms.txt](https://www.oddle.me/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.oddle.me/docs/help-center/help-center-zh/oddle-shang-dian/how-do-i-set-up-my-domain-and-link-my-shop.md).

# 如何設定我的網域並連結我的商店？

您的 Oddle Shop 具有預設網址，格式為 `yourbrand.oddle.me`。如果您偏好使用自己的網域（例如 `order.yourbrand.com`），您可以透過網域遮罩進行設定——這能讓您的品牌形象保持一致，同時不影響您的商店運作方式。

***

## 設定自訂網域

### 步驟 1：購買網域名稱

如果您尚未擁有網域，可以向註冊商購買。常見選項包括：

* [GoDaddy](https://www.godaddy.com/)
* [Namecheap](https://www.namecheap.com/)
* [Domain.com](https://www.domain.com/)
* [Name.com](https://www.name.com/)
* [Network Solutions](https://www.networksolutions.com/)

大多數註冊商也提供 DNS 主機服務，下一步您會需要用到。

### 步驟 2：設定您的 DNS

1. 登入您的 DNS 主機服務提供商。
2. 前往您的 DNS 管理頁面。
3. 新增一筆 **CNAME** 記錄，指向 `sni.oddleapp.com`.

![](/files/39370b1769f803fa11c3f1bb4b8381885d995966)

{% hint style="info" %}
若要將訪客從 `yourbrand.com` 重新導向至 `www.yourbrand.com`，請您的 DNS 提供商設定 301 重新導向。
{% endhint %}

### 步驟 3：在 Merchant Admin 新增您的自訂網域

1. 登入 [Merchant Admin](https://app.oddle.me/panel).
2. 前往 **Channels > Online Shop > Settings**.
3. 開啟 **網域設定**.
4. 將您的自訂網域輸入到 **網站網址** 欄位中。
5. 點擊 **儲存**.

![](/files/86e623e3a23686930daa3f0caf40c5489fc2e19c)

請確保您在此輸入的網域，與您在 DNS 提供商處設定的內容完全一致。

{% hint style="info" %}
儲存後，網域變更最多可能需要 48 小時才能完全生效。完成後，Oddle 會自動透過 SSL 憑證為您的商店提供安全保護。
{% endhint %}

***

## 將您的商店連結到您的網站

將您的 Oddle Shop 連接到現有網站最簡單的方法，是在導覽列加入一個「立即訂購」連結。請請您的網頁開發人員將按鈕連結到您的 Oddle Shop 網址，或使用 Merchant Admin 中提供的嵌入按鈕程式碼。

![](/files/34703dc90fb4eedf21fe6ef69401eb9799f59dfe)


---

# 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:

```
GET https://www.oddle.me/docs/help-center/help-center-zh/oddle-shang-dian/how-do-i-set-up-my-domain-and-link-my-shop.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.
