# Add email domain records in Namecheap or cPanel

Source: https://docs.businessapp.io/business-app/administration/email/email-domains/namecheap-cpanel/

## What are Namecheap Advanced DNS and the cPanel Zone Editor?

Namecheap and cPanel are two common places to manage your domain's Domain Name System (DNS) records:

-   **Namecheap Advanced DNS**: Use this if your domain is registered with Namecheap and uses Namecheap BasicDNS, FreeDNS, or PremiumDNS.
-   **cPanel Zone Editor**: Use this if your domain uses your web hosting nameservers and your host gives you cPanel. This includes Namecheap web hosting.

This guide shows you how to add the records that authorize your domain for sending email from Business App in either one.

> **Info:** If you open your domain in Namecheap and the `Advanced DNS` tab has no `Host Records` section, your domain uses another company's nameservers or your hosting nameservers. Add the records at that DNS host, or in cPanel if your host provides it.

## Why add your email domain records here?

-   **Finish authorizing your domain**: Business App can't use your domain in your sender address until the records are installed.
-   **Reach the inbox**: SPF, DKIM, and DMARC records help your emails pass spam filters and reach your recipients.

## What's included in this guide?

-   **Namecheap steps**: Add the TXT and CNAME records in `Advanced DNS`.
-   **cPanel steps**: Add the TXT and CNAME records in the `Zone Editor`.
-   **Existing SPF record**: Combine your Business App SPF entries with an SPF record you already have.
-   **Record check**: Confirm Business App can find your records.

## Before you start

1.  Add your domain in Business App and open its DNS records. See [Authorize an email domain](https://docs.businessapp.io/business-app/administration/email/email-domains/).
2.  Keep your `Email configuration` page open in a separate browser tab so you can copy each record.

Business App lists one DMARC record (TXT), one SPF record (TXT), and three DKIM records (CNAME). Add all five.

## Add the records in Namecheap

Namecheap requires you to leave your domain out of the `Host` field. Enter only the part of the Business App `Host (Name)` that comes before your domain.

| Host (Name) in Business App | What to enter in Namecheap |
| --- | --- |
| `_dmarc.example.com` | `_dmarc` |
| `@.example.com` | `@` |
| `em1234.example.com` | `em1234` |
| `abc._domainkey.example.com` | `abc._domainkey` |

These hosts are examples. Use the hosts shown for your own domain.

1.  Sign in to your Namecheap account.
2.  Select `Domain List` from the left sidebar, then click `Manage` next to your domain.
3.  Select the `Advanced DNS` tab.
4.  Check the `Host Records` section for a TXT record with the host `@` and a value starting with `v=spf1`. If one exists, skip the SPF record in the next steps and follow [If you already have an SPF record](https://docs.businessapp.io/business-app/administration/email/email-domains/namecheap-cpanel/#if-you-already-have-an-spf-record) instead.
5.  In the `Host Records` section, click `Add New Record`.
6.  Choose the record type that matches the `Record Type` in Business App: `TXT Record` for the DMARC and SPF records, or `CNAME Record` for the DKIM records.
7.  In the `Host` field, enter the host as shown in the table above.
8.  In the value field, paste the matching `Value` from Business App.
9.  Leave `TTL` set to `Automatic`.
10.  Repeat steps 5 to 9 for each record.
11.  Click `Save all changes`.

## Add the records in cPanel

In the cPanel `Zone Editor`, you can enter the `Name` in either of two ways:

-   **Only the part before your domain**, such as `_dmarc`. cPanel adds your domain automatically.
-   **The full name ending with a period**, such as `_dmarc.example.com.`

For the SPF record, which goes on your root domain, enter your domain followed by a period, such as `example.com.`. Don't enter the `@.` that Business App shows at the start of the SPF host.

1.  Sign in to cPanel.
2.  In the `Domains` section, click `Zone Editor`.
3.  Click `Manage` next to your domain.
4.  Check the list for a TXT record on your domain with a value starting with `v=spf1`. If one exists, skip the SPF record in the next steps and follow [If you already have an SPF record](https://docs.businessapp.io/business-app/administration/email/email-domains/namecheap-cpanel/#if-you-already-have-an-spf-record) instead.
5.  Click `Add Record`.
6.  In the `Name` field, enter the host as described above.
7.  Leave the `TTL` at its default setting.
8.  In the `Type` menu, choose the record type that matches the `Record Type` in Business App: `TXT` for the DMARC and SPF records, or `CNAME` for the DKIM records. For the DMARC record, choose `TXT` so you can paste the exact value from Business App.
9.  In the `Record` field, paste the matching `Value` from Business App.
10.  Click `Save Record`.
11.  Repeat steps 5 to 10 for each record.

> **Note:** The cPanel `Record` field accepts any text, including mistakes. Copy and paste each value from Business App instead of typing it.

## If you already have an SPF record

A domain can have only one SPF record. If you add a second one, SPF checks fail for email sent from your domain. Edit your existing record instead:

1.  Find the TXT record on your root domain whose value starts with `v=spf1`.
    -   **Namecheap**: In `Advanced DNS`, find the record with the host `@` and click the edit option next to it.
    -   **cPanel**: In the `Zone Editor`, click `Manage` next to your domain, then click `Edit` next to the record.
2.  Add the `include:` entries from the Business App SPF `Value` to the existing value. Keep a single `v=spf1` at the start and a single `all` term (such as `~all` or `-all`) at the end.
3.  Save the record. In Namecheap, click `Save all changes`. In cPanel, click `Save Record`.

For a worked example, see [Merge multiple SPF records into a single record](https://docs.businessapp.io/wordpress-hosting/domains/merge-multiple-spf-records-into-a-single-record/).

## Check your records in Business App

1.  In Business App, go to `Administration` → `Email configuration`.
2.  In the `Email domains` section, expand your domain's row.
3.  Click `Check domain records`.

Each record's `Current value` column shows what Business App finds on your domain. DNS changes can take up to 72 hours to update, so if a record shows `Not found`, check it again later.

For more help, see Namecheap's guides to [setting up host records](https://www.namecheap.com/support/knowledgebase/article.aspx/434/2237/how-do-i-set-up-host-records-for-a-domain/) and [editing the DNS zone in cPanel](https://www.namecheap.com/support/knowledgebase/article.aspx/9256/29/how-to-edit-dns-zone-in-cpanel/), and the [cPanel Zone Editor documentation](https://docs.cpanel.net/cpanel/domains/zone-editor/).

## Frequently asked questions

**Should I use Namecheap Advanced DNS or cPanel?**

Use the one that matches your domain's nameservers. If your domain uses Namecheap BasicDNS, FreeDNS, or PremiumDNS, use `Advanced DNS`. If it uses your hosting nameservers, use the cPanel `Zone Editor`.

**Why does Business App show Not found after I added a record in Namecheap?**

The most common cause is including your domain in the `Host` field. Namecheap adds your domain for you, so the record ends up at the wrong name. Edit the record so the `Host` contains only the part before your domain.

**Do I need to click Save all changes in Namecheap?**

Yes. After you add your records, click `Save all changes` so Namecheap saves them.

**What do I enter in the cPanel Name field for the SPF record?**

Enter your domain followed by a period, such as `example.com.`. This puts the record on your root domain.

**cPanel already created an SPF record for my domain. Should I delete it?**

No. Edit it and add the Business App `include:` entries to it, so your domain keeps a single SPF record. See [If you already have an SPF record](https://docs.businessapp.io/business-app/administration/email/email-domains/namecheap-cpanel/#if-you-already-have-an-spf-record).

## Related

-   [Authorize an email domain](https://docs.businessapp.io/business-app/administration/email/email-domains/)
-   [Add email domain records in GoDaddy](https://docs.businessapp.io/business-app/administration/email/email-domains/godaddy/)
