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.

Tags:
  1. sunnysthakur

    sunnysthakur Registered

    Joined:
    May 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    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 xyz.com and same DNS is already registered on DNS to access application via example.com
    Now we want to setup a records for this email server to our DNS so that we can send/receive emails from @example.com 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

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    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:

    Code:
    mail "CNAME" example.domain.com.
    example "A" 1.2.3.4
    domain.com. "MX" 0 example.domain.com.
    Thank you.
     
Loading...

Share This Page