problem with mail.domain.com

Operating System & Version
centos 7.9
cPanel & WHM Version
11.92.0.6

fajryassin

Member
Oct 5, 2014
15
1
128
Beirut, Lebanon, Lebanon
cPanel Access Level
Root Administrator
Twitter
Using the links that @keat63 provided is the best way to get that to work. The only other option would be to setup a redirect specifically for the mail subdomain to go to domain.com/webmail.
Thank you for your help
I using this link too.

But can I know why the main site open in mail.arabwindow.net
How can fix it to open only on the main site, not on subdomains
because google archive subdomains too
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,418
1,000
313
cPanel Access Level
Root Administrator
The "mail" subdomain is set up as an Apache alias on the domain so it will receive an SSL certificate for customers that like to use this domain to check their email through a client. This causes it to open the same content in a browser. We had some additional discussion on this recently with the following thread: