# Add & verify a sending domain

> Add your domain in the Mail Niaga console, add the DNS records at your DNS provider, then verify the domain to send email from it.
>
> Source: https://docs.mailniaga.com/sending-domains/

A sending domain is your own domain, for example `syarikatanda.com`. Mail Niaga must verify this domain before you can send campaigns from an email address on that domain. First, you add the domain in the Mail Niaga console. Then you add the DNS records from the console at your DNS provider. Last, you click **Verify DNS records**.

The **From email** address of a campaign must be on a sending domain that is **Verified**. For example, to send from `info@syarikatanda.com`, you must verify the domain `syarikatanda.com` first.

## Open the list of sending domains

The **Sending Domains** page shows all the domains in your account and the status of each domain:

1. Click **Sending** → **Sending domains** in the left sidebar.

   *(Screenshot: The Sending Domains page with the Sending domains menu in the sidebar and the Add domain button)*

The top of the page shows the counts **Total domains**, **Verified** and **DKIM signed**. The table shows each domain with these columns:

| Column | What it means |
|---|---|
| **Domain** | The domain name. The small line below it shows the DKIM type, for example **Standard (local DKIM)**, and **DKIM on**. |
| **Status** | **Verified** if the console found all the DNS records. **Unverified** if the console did not find a record yet. |
| **Created** | The date when you added the domain. |

Use the **All statuses** list to filter the domains by **Verified** or **Unverified**.

## Add a domain

Add the domain of your sender email address. Type only the domain name, with no `https://` and no path.

1. On the **Sending Domains** page, click **Add domain**. The **Add sending domain** popup opens.
2. Type your domain name in the **Domain name** field, for example `syarikatanda.com`.
3. Click **Add domain**.

   *(Screenshot: The Add sending domain popup with the Domain name field and the Add domain button)*

The console opens the page of the domain with the **DNS records** table. The status of a new domain is **Unverified** until you add the DNS records and verify the domain.

## Add the DNS records & verify the domain

Each domain has its own DNS records. Copy the records from the **DNS records** table to your DNS provider (for example Cloudflare or cPanel). Then tell the console to check the records:

1. On the **Sending Domains** page, click the three-dot icon on the row of the domain, then click **DNS records**.

   *(Screenshot: The domain row menu with the DNS records and Delete options)*

2. Copy each record in the **DNS records** table (the **Type**, **Host / Name** and **Value** columns) to your DNS provider. For the full steps, see [DNS records for a sending domain](https://docs.mailniaga.com/dns-records/).
3. Wait until the DNS records propagate. This can take 15 minutes to 48 hours.
4. Click **Verify DNS records**.

   *(Screenshot: The domain page with the Verified status, the Verify DNS records button and the DNS records table)*

The console checks each record in your DNS. The **Status** column in the table shows **Verified** for the records that it found, and **Pending** for the records that it did not find yet. When the console finds all the records, the status of the domain changes to **Verified**. If a record is still **Pending**, the domain stays **Unverified**. Check that record, then click **Verify DNS records** again.

## Change or delete a domain

You cannot edit a sending domain. The DNS records and the DKIM key are tied to the domain name. To change the domain name, delete the old domain and add a new domain:

1. On the **Sending Domains** page, click the three-dot icon on the row of the domain.
2. Click **Delete**, then confirm.
3. Add the correct domain with **Add domain**. Then add its new DNS records at your DNS provider.

After you delete a domain, you cannot send campaigns from an address on that domain. If you do not need the old DNS records of the domain, also remove them from your DNS provider.

## Verified senders

In the past, Mail Niaga had a **Verified senders** feature that verified one email address through a link in an email. That feature is no longer in use, and it is not in the sidebar. To send from your own address, add and verify the domain of that address as a sending domain. After the domain is **Verified**, you can use any address on that domain as the **From email**.

## Tips

This advice helps you keep your sending domain ready:

- **Verify your domain before your first campaign.** DNS records can take up to 48 hours to propagate, so start early.
- **Use a domain whose DNS you control.** You must have access to its DNS provider to add the records. If a different person manages your domain, send the **DNS records** table to that person.
- **Do not delete the DNS records after the domain is Verified.** Mail Niaga checks the DKIM record each day. If the record is not there, the domain can lose its **Verified** status. Then you cannot send email from that domain.

## Common issues

### Why is my domain still Unverified after I clicked Verify DNS records?

The console did not find one or more DNS records yet. DNS changes can take 15 minutes to 48 hours. Compare each record in the DNS records table with the record at your DNS provider, then click Verify DNS records again. See DNS records for a sending domain (/dns-records/).

### How do I correct a domain name with a typing error?

You cannot change a sending domain after you add it, because the DNS records and the DKIM key are tied to the domain name. Delete the domain from the row menu, then add it again with the correct name.

### Why does the message Domain already registered show?

The domain is already in your account, or a different account registered it. Check the list in Sending → Sending domains. If the domain is not in your account, contact the Mail Niaga team.
