# Namecheap MX Records

If your domain is pointed to our <mark style="color:blue;">BasicDNS</mark>, <mark style="color:blue;">PremiumDNS</mark> or <mark style="color:blue;">FreeDNS</mark>, you can configure mail service and MX records in your Namecheap account.

NOTE: Before setting up your mail service, be sure that there is no CNAME record created for a bare domain, (e.g., yourdomain.tld) in the Host records section, or email will not work correctly. CNAME has the highest priority and prevails over all the other records for the host name, including MX Records which are responsible for mail delivery.

To set up MX records for your domain, follow these steps:

1. Sign into your Namecheap account in the top left corner of the page.
2. Select Domain List in the left sidebar:

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FfOges4aHBpryBMbZi12r%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-017ffd73b2a3bc3df95cfb60f6db49396f0a5d86_15.1%20Namecheap%201.png?alt=media&#x26;token=fadbac37-e669-42ab-ad5c-58c2a46d4957" alt=""><figcaption></figcaption></figure>

3. Click Manage next to the domain name you wish to set DNS records for:

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FhDfGCwKXnd206NMWBSgI%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-63ae4f3f9d8a9363e578839fff65c78376898765_16.1%20Namecheap%202.png?alt=media&#x26;token=ac69a5f9-8cb9-42bf-aabd-d1b7f15b0123" alt=""><figcaption></figcaption></figure>

4. Navigate to the Advanced DNS tab and go to the Mail Settings section (<mark style="color:blue;">not able to edit Host Records?</mark>):

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2Fz060cYM6fSnjU6SoZMll%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-faab61ec004244f5758871c0fc9c5a18d8bd64aa_17.1%20Namecheap%203.png?alt=media&#x26;token=206bb03e-ced9-42b7-b0a7-6082f8637323" alt=""><figcaption></figcaption></figure>

Here, you may choose one of the following Mail Settings depending on the mail service you wish to use:

* No Email Service- if you wish to use no mail service. Your domain will have no MX records.
* Email Forwarding- if you wish to create personalized e-mail addresses for a domain and forward emails to other email accounts of your choice. The MX records will be set up automatically after selecting this option:\\

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FvC0QeLsnJo8XTOX9LIE7%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-a7793377ae8acb688466bae76adbe215df146bfe_18.1%20Namecheap%204.png?alt=media&#x26;token=d94907d9-b845-4df0-9514-6ab534508a3f" alt=""><figcaption></figcaption></figure>

* MXE record is used for forwarding mail to a mail server's IP address:

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FyLWiIzv83JCDRmwYcoF7%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-e659c45889e681468c73a7a23c0a9c8c0d8b9f67_19.1%20Namecheap%205.png?alt=media&#x26;token=c0847adb-ca11-4411-bc03-7af43963eef9" alt=""><figcaption></figcaption></figure>

* Custom MX is used to set MX records for third-party mail services, like cPanel webmail service (if you wish to use cPanel mail service with default nameservers), Zoho mail, Outlook.com, etc.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FbscljwISLG6llWE59OPW%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-3bbfe2ca0d998065bd76fc3576106677d59826ef_20.1%20Namecheap%207.png?alt=media&#x26;token=ca2838a1-5269-496e-8f4e-09be5aaf9132" alt=""><figcaption></figcaption></figure>

It is possible to indicate your own domain as the mail server address like mail.domain.tld or domain.tld. Please note that the corresponding A record pointing to the IP address of the mail server should be created in the DNS settings:\\

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FKe11KZUJslFOp3WSYg4F%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-05c2532339c1d73f522c8380ac7990f3d5d2403b_21.1%20namecheap%207.png?alt=media&#x26;token=acb794d1-093f-459a-8933-bec58aa7cc63" alt=""><figcaption></figcaption></figure>

* Private Email - if you wish to set up MX records for the <mark style="color:blue;">Namecheap Private email service</mark>. The MX records will be set up automatically after selecting this option:

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FqtF6YNBsupmLiJz0UbfT%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-9e56bbe3b6ea651713fb6e548651cf06b5920ff9_22.1%20Namecheap%208.png?alt=media&#x26;token=488b13aa-170a-46b8-a67f-66bab7be3f48" alt=""><figcaption></figcaption></figure>

* Gmail - if you have a G Suite subscription, select the Gmail option to set up the records needed for this mail service:

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FnTusww2agtRXmKFDXBDc%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-d26b515cf33e11867a07f94b87298e8dc1a02aef_23.1%20Namecheap%209.png?alt=media&#x26;token=3837c5fc-9116-4e50-a3f2-a57fdb79e550" alt=""><figcaption></figcaption></figure>

Once all necessary settings are selected, be sure to save changes. Normally, it takes 30 minutes for newly created records to take effect.
