> 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-hostinger-domain.md).

# Connect Hostinger Domain

When your domain is using Hostinger nameservers, you need to add DNS records in your DNS zone.

Wegic will provide:

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

{% hint style="success" %}

## Quick Access

You can open your Hostinger dashboard directly:

* <https://hpanel.hostinger.com/>

Or refer to the official Hostinger guides:

* [DNS records setup](https://support.hostinger.com/en/articles/1583249-how-to-manage-dns-records-at-hostinger)
* [A record setup](https://support.hostinger.com/en/articles/4468886-how-to-add-and-remove-a-records-in-hpanel)
* [CNAME record setup](https://support.hostinger.com/en/articles/4738777-how-to-manage-cname-records)
  {% endhint %}

## Open DNS Settings

1. Sign in to your[ Hostinger account](https://hpanel.hostinger.com/)
2. Go to **Domains**
3. Select your domain
4. Click **DNS / Nameservers**
5. Open the **DNS zone / DNS records** section

## Add A Record

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

* Click **Add record**
* Select **Type → A**

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

* Name → Enter `@`
* Content → Paste the IP address provided by Wegic
* TTL → Keep default (14400)

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

* Click Add record or **Save**

## Add CNAME Record

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

* Click **Add record**
* Select **Type → CNAME**

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

* Name → Enter prefix only (e.g. `www`)
* Content → Paste the CNAME provided by Wegic (e.g. `xxxxx.n2.wegic.app`)
* TTL → Keep default (14400)

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

* Click Add record or **Save**

## 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 Name (e.g. use `www`, not `www.domain.com`)
* Make sure records are saved before leaving the page
  {% endhint %}
