The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add Email Server to DNS hosted on other service provider

Discussion in 'E-mail Discussions' started by sunnysthakur, Jun 13, 2016.

  1. sunnysthakur

    sunnysthakur Registered

    May 14, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner

    We have a in house application server running on Apache. This was setup on public IP and its A record was added to our DNS server so that application deployed here access from DNS instead of IP.
    We also setup a postfix email server on this linux (Ubuntu) server and added its MX records to our DNS as well. But later we start facing email issues like delay in emails and sometime emails skipped (added to the postfix queue).
    Later we think to setup a email server which is hosted on other service provider now (access from cpanel). We created a same account name i.e and same DNS is already registered on DNS to access application via
    Now we want to setup a records for this email server to our DNS so that we can send/receive emails from domain from this email server now.
    Please help me on how to setup the records for this.
    #1 sunnysthakur, Jun 13, 2016
    Last edited by a moderator: Jun 13, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You can setup "A" and "MX" records for this domain name at it's DNS hosting provider. The "A" record should point the "mail" subdomain to the IP address of the cPanel server, and the MX records should point to a hostname that resolves to the cPanel server. EX:

    mail "CNAME"
    example "A" "MX" 0
    Thank you.

Share This Page