A few months ago I started renting a new dedicated server. I used cPanels transfer feature to move all of the accounts from my old server to my new server.
I hadn’t noticed until today that webmail is broken. I don’t really use webmail, but there are lots of emails in my inboxes that might be worth going through.
In particular, something strange happens when I try and access the webmail subdomain.
Let’s say my server has hosts domains “first.com” and “second.com“.
When I try access webmail, e.g. https://webmail.first.com, the index.html file from second.com is served.
Somehow the webmail subdomain is being pointed to the other domain on my server.
I have no idea why this is happening, when I look at the DNS records, I can’t see anything unusual.
The first.com zone has A records for mail, webmail, etc, which all point to the servers IP. The second.com zone only has the standard A records, mail, www, etc.
Does anyone have any ideas what might of gone wrong / how I can attempt to troubleshoot the issue?
The reason why I can’t access my webmail is because when I click on “View emails” cPanel directs me to webmail.first.com/login/ which is pointed to first.com/login/ which doesn’t exist.
I have found a work around by adding an A record for webmail to the second.com domain, but I still would like to understand what is going on.
Thanks in advance
submitted by /u/lindacupple
Powered by WPeMatico