# 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 %}


---

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