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.
Which email provider are you setting up?
- Google Workspace Google Workspace on Namecheap
- Microsoft 365 Microsoft 365 on Namecheap
- Zoho Mail Zoho Mail on Namecheap
- Fastmail Fastmail on Namecheap
- Hostinger Email Hostinger Email on Namecheap
- iCloud+ Custom Email Domain iCloud+ Custom Email Domain on Namecheap
- Migadu Migadu on Namecheap
- Namecheap Private Email Namecheap Private Email on Namecheap
- Proton Mail Proton Mail on Namecheap
- Rackspace Email Rackspace Email on Namecheap
- Titan Email Titan Email on Namecheap
Find the DNS editor
- Sign in to Namecheap and select Domain List in the left sidebar.
- Select Manage next to your domain.
- 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
- 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.
TXT record
- 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.
CNAME record
- In the Host Records section, select Add New Record.
- In the Type drop-down, choose CNAME Record.
- Fill in Host and Value, and pick a TTL.
- 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.