I have a quick question regarding hostnames and (I think) domain aliases.
Here is what I would like to achieve:
I have a installed mailcow on somehost.somedomain.com. I don’t have control on the DNS record for this host, I only have the A record and propped reverse IP lookup entry. I have a second domain mydomain.com where I can control A, CNAME, TXT, MX, NS, SRV records.
I would like to access mailcow vie (mail.)mydomain.com and use email addresses email@example.com.
So, how to achive this?
I tried to set the A record of mydomain.com to my servers IP, the MX record to somehost.somedomain.com, the my hostname to somehost.somedomain.com and created a SOGO domain mydomain.com.
I don’t think this is correct. For example, the web mail interface can only be used from https://somehost.somedomain.com.
What’s the correct way to set this up?