comptech520

Well-Known Member
Feb 23, 2006
62
0
156
Hi,

- Is the default webmail DNS: webmail.domain.com. 14440 IN A xxx.xxx.xxx.xxx
- When I goto mail.domain.com, it opens the website domain.com is assocaited with
How can I make it not do that?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Yes, the default entry for "webmail" when proxy subdomains are enabled is:

Code:
webmail	14400	IN	A	1.1.1.1
You can delete the existing "A" record for "mail", and create a subdomain for it in cPanel to load the content you desire.

Thank you.
 

comptech520

Well-Known Member
Feb 23, 2006
62
0
156
Where 1.1.1.1 is, is that my IP that goes there?

I want my domain.com to show when someone goes to mail.mydomain.com.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Where 1.1.1.1 is, is that my IP that goes there?
Yes, that is where your IP address appears. Note that the "webmail" entry is separate from the "mail" entry. If you want visitors to open specific content for the "mail" subdomain, ensure you add it as a subdomain or Addon domain name to the cPanel interface after removing it's entry in the DNS Zone.

Thank you.
 

comptech520

Well-Known Member
Feb 23, 2006
62
0
156
well mail.domain.com is the mail server. So how do I keep that as the mail server, but not a viewable website?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
well mail.domain.com is the mail server. So how do I keep that as the mail server, but not a viewable website?
It's because mail.domain.com is a CNAME record:
Code:
mail  14400  IN  CNAME domain.com.
if you change it to:
Code:
mail  14400  IN  A  1.1.1.1
that should work.