Articles in this section

How to change the mail server's domain name in Plesk

Plesk for Windows kb: how-to Plesk for Linux ABT: Group B mail

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to change the mail server's domain name?

Answer

The process differs depending on whether the domain uses Plesk DNS or an external DNS server.

Plesk DNS
  1. Log into Plesk

  2. Go to Domains > example.com > Hosting & DNS > DNS

  3. Look for the MX record type and open it

  4. Set Mail exchange server to the desired domain

    Note: The MX record value must have a corresponding A record.

External DNS
  1. Connect to the server via SSH

  2. Find the domain's DNS provider

    # dig +short example.com NS
    ns2.he.net.
    ns5.he.net.
    ns4.he.net.
    ns3.he.net.
    ns1.he.net.

  3. Log in to the DNS provider's settings page

  4. Set the MX record to the desired domain

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.