I’m trying to understand the structure and how all work together.
Whenever I create a new “website” the following happens (among others):
- Created: /home/mydomain.tld/public_html (OK)
- Created: /home/mydomain.tld/public_html/mail.mydomain.tld (NOT-OK)
- And in DNS Zone Records the following exist:
A mail.mydomain.tld (OK)
A mail.mail.mydomain.tld (NOT-OK)
CNAME www.mail.mydomain.tld mail.mydomain.tld (NOT-OK)
MX mydomain.tld mail.mydomain.tld (OK)
MX mail.mydomain.tld mail.mail.mydomain.tld (NOT-OK)
So:
mail.mydomain.tld is created as a child website. If you write mail.mydomain.tld to your browser you get a welcome page as it has a vHost. As this is a website, it also has a recursive mail.mail.* …
Is this a bug, is this only related to my server or is it intended to work like this? If it is correct, can someone please explain me why do they exist? If not, how can I correct this?
Thank you in advance…