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.

How to properly setup sub-domain email in Cpanel/DNS for clients?

Discussion in 'E-mail Discussions' started by webguy_ddm, Jan 9, 2016.

  1. webguy_ddm

    webguy_ddm Member

    Joined:
    Jan 7, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles
    cPanel Access Level:
    Website Owner
    Not sure how to title this, but I have a big question.

    I have a GoDaddy VP. I looked at the LIST ACCOUNT in WHM and there is only one domain name listed for the Cpanel (root) DOMAIN_MAIN.COM.

    Under that Cpanel MAIN_DOMAIN.COM, I have 3 ADDON domain names being hosted.
    DOMAIN-01.COM (Need hosted in Cpanel)
    DOMAIN-02.COM (MX hosted outside server)
    DOMAIN-03.COM (listed on Workspace email)

    I then looked at the LIST SUBDOMAINS in WHM and this is what I see.

    DOMAIN / DOMAIN_MAIN.COM
    SUBDOMAIN / DOMAIN-01.MAIN_DOMAIN.COM
    ADDON / DOMAIN-01.COM

    DOMAIN / DOMAIN_MAIN.COM
    SUBDOMAIN / DOMAIN-02.MAIN_DOMAIN.COM
    ADDON / DOMAIN-02.COM

    DOMAIN / DOMAIN_MAIN.COM
    SUBDOMAIN / DOMAIN-03.MAIN_DOMAIN.COM
    ADDON / DOMAIN-03.COM

    DNS setting are set by GoDaddy server on MX as:

    0 @ smtp.secureserver.net
    10 @ mailstore1.secureserver.net

    According per GoDaddys instruction on setting up Cpanel email for ADDON domains. Godaddy wants you to take the default MX record and delete all records and create a new MX.

    0 @ www.DOMAIN-01.COM

    Cpanel MX ENTRY is also set to read LOCAL MAIL EXCHANGE

    and this should start working. Well ..... it works sending email out to any email, but if I want to send any email to any ADDON listed name, it has a bounce back.

    I really need DOMAIN-01.COM to work, its for my family business.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    Can you please let us know what exact error are you getting in bounce back email ?
     
  3. webguy_ddm

    webguy_ddm Member

    Joined:
    Jan 7, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles
    cPanel Access Level:
    Website Owner
    I get the error message NO SUCH USER.
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    That mean you have setup incorrect MX record for your domain and due to that your are getting this error. Please check your MX record and update your doamin MX record with correct mail server IP.
     
  5. webguy_ddm

    webguy_ddm Member

    Joined:
    Jan 7, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles
    cPanel Access Level:
    Website Owner
    What do you propose the MX record be?

    I have one Cpanel with one main domain on the root.

    Then I have 4 others hosted as Addon Domains. That is what is failing. The Cpanel MX Entry record for each domain is set to Local.

    I have the one domain that is failing set on the DNS MX records as
    Priority 0
    Points @
    Destination www.mydomain.com

    Priority 10
    Points @
    Destination www.mydomain.mainroot.com


     
  6. webguy_ddm

    webguy_ddm Member

    Joined:
    Jan 7, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles
    cPanel Access Level:
    Website Owner
    I have the following issues. Cpanel will not keep the setting I have setup in MX Entry.

    4 domain names hosted but one continues to not keep its settings.

    inside the MX ENTRY is set the domain name to LOCAL EXCHANGER.

    but the setting does not want to stay. Once I leave the section and go back, its not selected. I check the other domain names and see what they are set at, and the settings are correct.

    Why is this specific domain having issues?
     
  7. webguy_ddm

    webguy_ddm Member

    Joined:
    Jan 7, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles
    cPanel Access Level:
    Website Owner
    I am trying something different for MX record.

    Priority 0
    Points @
    Dist mail.mydomain.com
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You may want to consult with your hosting provider's support team if their instructions are not working as intended. Also, you should select "Remote Mail Exchanger" if the email is handled by a remote mail server instead of through cPanel.

    Thank you.
     
  9. webguy_ddm

    webguy_ddm Member

    Joined:
    Jan 7, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles
    cPanel Access Level:
    Website Owner
    Godaddy advised not to use Cpanel email because it's not supported lol

     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    For instance, selecting "Remote Mail Exchanger" is designed for cases where email is handled on another server instead of your local cPanel server.

    Thank you.
     
  11. webguy_ddm

    webguy_ddm Member

    Joined:
    Jan 7, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles
    cPanel Access Level:
    Website Owner
    Ok I got it working. The two email that are hosted on Godaddy Workspace Email, I set to Remote Mail Exchange. The other emails on Cpanel email are set to Local Mail Exchanger.

    Also the MX Entry in Cpanel must have a record a signed to each domain hosted, regardless if it is added in Addon Domain.

    Its working for me.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to see it's now functioning as expected. Keep in mind the DNS entries on the cPanel server are not relevant if you have the DNS handled on a remote server.

    Thank you.
     
Loading...

Share This Page