Mail.mydomain.com is showing my website and then getting indexed

I assume they also are similar (built with Virtualmin, have valid Certs, are Apache, .etc. ) then what is the difference - obviously there is inconsistency here. Perhaps it would be better to find out why - before implementing a solution?