> For the complete documentation index, see [llms.txt](https://help.wegic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.wegic.ai/features/custom-domain/connect-squarespace-domain.md).

# Connect Squarespace Domain

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

Wegic will provide:

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

{% hint style="success" %}

### Squarespace Official Guide

You can refer to the official Squarespace documentation:

* [DNS records for web hosting](https://support.squarespace.com/hc/en-us/articles/31119879125645-DNS-records-for-web-hosting)
  {% endhint %}

## Open DNS Settings

1. Open your [domains dashboard](https://account.squarespace.com/domains)
2. Click your domain name
3. Click **DNS**, then open **DNS Settings**
4. Scroll down to **Custom Records**

## Add A Record

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

* Click **Add record**
* Enter your current password, or if you have [two-factor authentication](https://support.squarespace.com/hc/articles/360000044827) (2FA) enabled, reauthenticate your account using your 2FA method and click **Continue**.
* Select **Type → A**

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

* **Name** → Enter the host you are pointing to
* **IP Address** → Paste the IP provided by Wegic

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

* Click **Save** to add the record to your settings.

## Add CNAME Record

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

* Click **Add record**
* Enter your current password, or if you have [two-factor authentication](https://support.squarespace.com/hc/articles/360000044827) (2FA) enabled, reauthenticate your account using your 2FA method and click **Continue**.
* Select **Type → CNAME**

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

* **Name** → Enter subdomain (e.g. `www`)\
  ⚠️ Note: It's not possible to add a CNAME with @ in the Name field.
* **Data** → Paste the **CNAME provided by Wegic**

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

* Click **Save** to add the record to your settings.

{% hint style="info" %}

### Important Notes

* CNAME must always point to a valid URL
* URL cannot contain `/` or `:`
* Conflicting records must be removed before saving
  {% endhint %}

### Finish in Wegic

1. Return to [Wegic](https://wegic.ai/workspace)
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
