# Connect Alibaba Cloud Domain

When your domain is using Alibaba Cloud DNS, you need to add DNS records in your DNS settings.

Wegic will provide:

* A record value (IP address)
* CNAME record value (domain)

{% hint style="info" %}

### Alibaba Cloud Official Guide

You can refer to the official Alibaba Cloud documentation:

* [Add DNS records](https://help.aliyun.com/zh/dns/pubz-add-parsing-record)
  {% endhint %}

## Open DNS Settings

1. Sign in to Alibaba Cloud console
2. Go to **Cloud DNS (云解析 DNS)**
3. Enter **Authoritative DNS / Public DNS (权威域名解析)**
4. Select your domain
5. Click **DNS Settings (解析设置)**

👉 官方路径：进入域名后点击“解析设置”，即可添加记录 &#x20;

## Add A Record

**1. Create A Record**

* Click **Add Record (添加记录)**
* Select **Type → A**

**2. Fill in A Record**

* **Host (主机记录)** → Enter `@`
* **Record Value (记录值)** → Paste the IP address provided by Wegic
* **Line (解析线路)** → Default (默认)
* **TTL (TTL时间)** → Keep default

👉 A record is used to point your domain to an IP address &#x20;

<figure><img src="/files/aNbmhYEJuA38VJdasn5I" alt=""><figcaption></figcaption></figure>

**3. Save A Record**

* Click **Confirm (确定)**

## Add CNAME Record

**1. Create CNAME Record**

* Click **Add Record (添加记录)**
* Select **Type → CNAME**

**2. Fill in CNAME Record**

* **Host (主机记录)** → Enter prefix only (e.g. `www`)
* **Record Value (记录值)** → Paste the CNAME provided by Wegic (e.g. `xxxxx.n2.wegic.app`)
* **Line (解析线路)** → Default (默认)
* **TTL (TTL时间)** → Keep default

<figure><img src="/files/22WdVqD8rnloySKcSEU5" alt=""><figcaption></figcaption></figure>

**3. Save CNAME Record**

* Click **Confirm (确定)**

## DNS Update Time

* Usually takes effect within minutes
* May take up to 48 hours globally

## Finish in Wegic

1. Return to Wegic
2. Click **Update / Publish** (top-right corner)\
   → This opens the publish settings modal
3. In the modal, click **Custom Domain → Connect**
4. Verification starts automatically
5. If successful, you will see a success message
6. Click **Publish** to apply your website to the domain


---

# 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://help.wegic.ai/features/custom-domain/connect-alibaba-cloud-domain.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.
