Domain host

How to add MX, TXT and CNAME records in Namecheap

Popular low-cost registrar. Records are edited on the Advanced DNS tab, with mail records in their own Mail Settings section.

Find the DNS editor

  1. Sign in to Namecheap and select Domain List in the left sidebar.
  2. Select Manage next to your domain.
  3. Open the Advanced DNS tab.

What goes in each field

Record Host field Value field
MX Host Value + Priority
TXT Host Value
CNAME Host Value
  • For your bare domain, MX: enter @ in Host; TXT: enter @ in Host; CNAME: enter @ in Host.
  • For other names, type only the part before your domain (for example _dmarc). Namecheap adds your domain automatically.
  • Default TTL: Automatic.

Adding a record at Namecheap

MX record

  1. In the Mail Settings section, choose Custom MX from the drop-down list. You may need to scroll the list to find it.
  2. Select Add New Record.
  3. Enter @ as the Host, the mail server as the Value, and the Priority in the box to the right of the Value.
  4. Select the check mark to save the record.
  5. Delete every other MX record with its trash icon, then confirm with Yes.

TXT record

  1. In the Host Records section, select Add New Record.
  2. In the Type drop-down, choose TXT Record.
  3. Fill in Host and Value, and pick a TTL.
  4. Select the check mark, or Save All Changes, to save.

CNAME record

  1. In the Host Records section, select Add New Record.
  2. In the Type drop-down, choose CNAME Record.
  3. Fill in Host and Value, and pick a TTL.
  4. Select the check mark to save.

Namecheap gotchas

Namecheap DNS: questions

How do I add an MX record in Namecheap?

Sign in to Namecheap and select Domain List in the left sidebar. Select Manage next to your domain. Open the Advanced DNS tab. In the Mail Settings section, choose Custom MX from the drop-down list. You may need to scroll the list to find it. Select Add New Record. Enter @ as the Host, the mail server as the Value, and the Priority in the box to the right of the Value. Select the check mark to save the record. Delete every other MX record with its trash icon, then confirm with Yes.

How do I add a TXT record in Namecheap?

Sign in to Namecheap and select Domain List in the left sidebar. Select Manage next to your domain. Open the Advanced DNS tab. In the Host Records section, select Add New Record. In the Type drop-down, choose TXT Record. Fill in Host and Value, and pick a TTL. Select the check mark, or Save All Changes, to save.

What goes in the Host field at Namecheap?

Enter @ for records on your bare domain, such as MX and SPF. For the others, enter only the part before your domain, for example _dmarc. Namecheap adds your domain automatically.

How long do DNS changes take at Namecheap?

Namecheap’s default TTL is 30 minutes, so after a change other DNS servers can show the old value for up to 30 minutes.