# Connect Namecheap Domain

When your domain is using Namecheap nameservers, you need to add DNS records in your DNS settings.Wegic will provide:

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

{% hint style="success" %}

## Quick Access

You can also refer to the official Namecheap guides:

* [A record setup](https://www.namecheap.com/support/knowledgebase/article.aspx/319/2237/how-can-i-set-up-an-a-address-record-for-my-domain/)
* [CNAME setup](https://www.namecheap.com/support/knowledgebase/article.aspx/9646/2237/how-to-create-a-cname-record-for-your-domain/)
  {% endhint %}

## **Open DNS Settings**

1. Sign in to your Namecheap account

<div align="left"><figure><img src="/files/oLIRFL5OrS9nXQ9507cm" alt="" width="273"><figcaption></figcaption></figure></div>

2. Click **Domain List** (left sidebar)
3. Click **Manage** next to your domain

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

4. Go to **Advanced DNS** tab

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

## **Add A Record**

### **1. Create A Record**

* In **Host Records** section, click **Add New Record**
* Select **Type → A Record**

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

### **2. Fill in A Record**

* **Host** → Enter `@`
* **Value** → Paste the IP address provided by Wegic
* **TTL** → Set to Automatic (or default)

### **3. Save A Record**

* Click the green **Save changes** icon

## **Add CNAME Record**

### **1. Create CNAME Record**

* Click **Add New Record**
* Select **Type → CNAME Record**

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

### **2. Fill in CNAME Record**

* **Host** → Enter prefix only (e.g. `www`)
* **Value** → Paste the CNAME provided by Wegic (e.g. `xxxxx.n2.wegic.app`)
* **TTL** → Set to Automatic (or default)

### **3. Save CNAME Record**

* Click the green **Save changes** icon
* Or click **Save All Changes** if shown

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

## **Check Conflicting Records**

Make sure there are no existing records with the same Host:

* A Record
* CNAME Record
* URL Redirect (Unmasked / Masked / Permanent)
* ALIAS Record

If any exist, remove them before continuing.

Here is the example of conflicting records:

{% columns %}
{% column width="50%" %}

<figure><img src="/files/MtAamvKfKySYeBJARSsL" alt="" width="375"><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="50%" %}

<figure><img src="/files/3VII0aj4vXmeAj7Po29O" alt="" width="375"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

## **DNS Update Time**

* New records usually take effect within **30 minutes**

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

{% hint style="info" %}

## **Important Notes**

* Do not include your domain in **Host** (e.g. use `www`, not `www.domain.com`)
* Namecheap automatically appends your domain to Host
* Value must be a valid target (domain or IP, not random text)
  {% endhint %}


---

# 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-namecheap-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.
