# 将域名添加到资源组

有两种方法可以将域名添加到资源组。

1. 单击一个资源组，然后单击 **添加资源** 以将域名从其他组迁移过来。\\

   <div align="left"><figure><img src="/files/m77JjnPTuiG6AlNTz2ir" alt=""><figcaption></figcaption></figure></div>
2. 在添加新域名时，您可以选择一个资源组。参见 [添加域名](/welcome/cn/content-delivery-network/domain-management/add-a-domain.md)。


---

# 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://docs.console.zenlayer.com/welcome/cn/content-delivery-network/resource-management/add-domains-to-resource-group.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.
