#How do I set up an MX record for my domain?

ElitedomainsFAQ: This is the help centre of ELITEDOMAINS. We are a domain provider that lets you manage domains simply and smartly. We also run a domain catcher, a domain marketplace and attractive landing pages to sell domains automatically.

The MX record sets which mail server accepts emails for your domain. You enter it in the Redirector in the DNS section, with the mail server's host name and the priority your mail provider gives you. If you change provider, you replace the old MX records and keep the old server running until other servers know about the change. Which mail providers exist and what SPF, DKIM and DMARC are for is explained under creating email addresses.

#1) What is an MX record?

MX stands for mail exchanger. The MX record names the host name of the mail server that accepts mail for your domain, for example mx.provider.de. The priority sets the order if there are several mail servers: the smaller number is tried first.

#2) How do I create an MX record?

If you use external name servers, for example at Cloudflare, you create the entries there in the existing zone. If you switch to **DNS** in the Redirector, this replaces the whole zone, and previous entries for website and email are dropped.
  1. Prepare the provider: Create the domain and mailboxes at the mail provider. It gives you the MX records with priority.
  2. Verification first: If the provider requires verification by TXT entry, create it first and only set the MX record once it has unlocked your domain.
  3. Set the MX record: In the Redirector, in the DNS section, enter all of the provider's MX records, with name @ and the priority given.
  4. Test: Send a mail to your address and check that it arrives.

The host name in the MX record must have its own A or AAAA entries and belong to a configured mail server. An IP address is not allowed as a value, and neither is a host name with a CNAME. If you first switch to the DNS section in the Redirector for this, the following applies: every .de domain must have a valid A entry for @ there, otherwise it is not connected. If there is none, use our default IP 159.89.214.161. If you are coming from the Standard mode and www should keep working as before, create it for @ and for www, otherwise www is no longer reachable afterwards. If you have been forwarding the domain by URL forwarding, first create entries of the type forwarding with the same target URL and the same forwarding type, for example 301, 302 or frame forwarding, for @ and www, as far as these names should keep leading there, otherwise your project is no longer reachable afterwards.

#3) How do I switch email to another server?

This is how you change mail provider or separate email and website without losing mails:

  1. Prepare the new provider: Create the domain and mailboxes at the new provider, including all aliases and forwardings you use so far, and complete its verification of the domain, for example by TXT entry. Wait until it has unlocked receiving for your domain. Add the new provider to your SPF entry without removing the old one, then check the limit of 10 DNS lookups. If your SPF entry only allows the old server via mx, it loses this permission with the MX change. In that case, replace mx beforehand with all IP addresses of the old server, i.e. ip4 and, with IPv6, also ip6, until sending has been switched, and activate DKIM for your domain at the new provider before you send through it. For this, create its DKIM entry, see SPF, DKIM and DMARC. If the new provider uses the same DKIM name (selector) as the old one, choose a different one at the new provider so that the old entry remains valid until the switch is complete. Only send via the new provider once the TTL of the old entries has expired, otherwise recipients may reject your mails.
  2. Replace the MX records: If you use MTA-STS, add the new mail servers to the policy beforehand and wait for its validity period (max_age). First enter the full list of the new provider and only then delete the old MX records, or swap them in one step. This way the domain is never without an MX record. If there was no MX record so far because mails went directly to the domain's server, you now create the new provider's MX records.
  3. Keep the old server running: Other mail servers remember DNS answers for a while. Keep the old mailboxes running until the TTL of the old entries has expired, but for at least 2 days. If there was no MX record so far, mail servers also remember this answer. How long is stated as the last value in the SOA entry of the previous zone; if that is longer than 2 days, wait correspondingly longer.
  4. Change the website entries: If you also move the website, only change the A and AAAA entries for @ and www after this waiting time, as described under web space for your domain.
  5. Test: Send a mail to your address and one from it to another mailbox. Check that both arrive.
  6. Take over the old mailboxes: Before cancelling the old service, take over all mails from the old mailboxes, the older ones as well as those received since the switch. Many providers offer an import for this.
Was this article helpful?

Last updated on 28/11/2026 at 21:10

Let's go!
Create your account now

Register your next domain with us and compare us with your current provider. The account is free.

Join for free now

Screenshot of the domain portfolio in the app