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

webguy_ddm

Member
Jan 7, 2016
16
0
1
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.
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
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.
 

webguy_ddm

Member
Jan 7, 2016
16
0
1
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


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.
 

webguy_ddm

Member
Jan 7, 2016
16
0
1
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.
 

webguy_ddm

Member
Jan 7, 2016
16
0
1
Los Angeles
cPanel Access Level
Website Owner
Godaddy advised not to use Cpanel email because it's not supported lol

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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
New Godaddy advised not to use Cpanel email because it's not supported lol
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.
 

webguy_ddm

Member
Jan 7, 2016
16
0
1
Los Angeles
cPanel Access Level
Website Owner
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.
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.