# 如何购买自定义域名和 SSL 服务？

### 第 1 步：搜索并注册您的域名

1. 前往 账户 **»** 设置 **»** "**管理自定义域名 SSL"**
2. 在自定义域名部分搜索域名

<figure><img src="/files/43b0328b01e5fa03d4096e594795d5feaf9ec89c" alt=""><figcaption></figcaption></figure>

3. 一旦确认域名可用，点击 **"购买附加组件"** 在 域名注册 下。
4. 购买附加组件后，点击 "**注册域名"** 以完成注册。

***

### 第 2 步：订阅域名 SSL

注册域名后，您必须订阅域名 SSL 服务以保障其安全。

1. 前往 账单 **»** 订阅计划 **»** "**管理附加组件"**
2. 订阅 "**域名 SSL"** 附加组件（按月或按年）。

***

### 第 3 步：生成 CNAME 记录

1. 导航到 账户 **»** 设置 **» "管理自定义域名 SSL"**
2. 点击 **+创建 SSL**
3. 选择 SSL 类型

{% hint style="info" %}
选择 SSL 类型 **"仪表板"** 用于自定义登录和 **"跟踪"** 用于自定义跟踪域名。
{% endhint %}

4. 输入您的完整域名（包括子域名）
5. 点击 **+添加**
6. 系统将生成所需的 **CNAME** 记录

***

### 第 4 步：为您的自定义域添加 CNAME 记录

现在，在自定义域名部分为您注册的域添加 CNAME 记录。

1. 导航到 账户 **»** 设置 **» "管理自定义域名 SSL"**
2. 点击您的已注册域名
3. 添加子域并分配的 CNAME 记录 **»** **"+添加记录"**
4. 添加后， **SSL 将自动激活**

<figure><img src="/files/67b81ea79466abe75fc477dce71dc145850e16df" alt=""><figcaption></figcaption></figure>

***

### 第 5 步：在设置中配置您的自定义域

现在，在设置中添加您的自定义域以使其正常工作。

**用于自定义登录域**

1. 前往 账户 **»** 设置 **» "常规"**&#x20;
2. 在以下位置输入您的域名 **"自定义登录平台域名"** 字段，点击提交。

**用于自定义跟踪域**

1. 前往 账户 **»** 设置 **»** **"跟踪"**
2. 在 "**自定义跟踪域"** 字段，点击提交。
3. 将其设置为 **默认跟踪域** 以使用相同的自定义域生成回传 URL 和联盟跟踪链接。


---

# 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://knowledgebase.offer18.com/zh/wang-luo/chang-jian-wen-ti/ru-he-gou-mai-zi-ding-yi-yu-ming-he-ssl-fu-wu.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.
