Originally Posted by Invectra
I'm having a weird issue - I'm hosting a client's website only.
They have their A record pointed to my server and I have my client's website on a dedicated I.P. address.
I'm using WHM/Cpanel - my client's domain and nameservers are being hosted somewhere else and their A record points to my server's dedicated I.P.
The minute we launched their website and they pointed their A records - I can no longer send an e-mail to this client.
Is my server trying to send the e-mail to this client thinking we're hosting the mx records??
Thanks in advance!
If the name servers hosting the zone of your site is also cPanel based, its MX needs to be adjusted as default MX record points to domain.com and if domain.com is pointing to your server's address, mail will also start coming to your server. You need to remove the site's entry from /etc/localdomains file and enter it in /etc/remotedomains file. Secondly, you need to ask your client to update MX record at the Name servers to mail.domain.com and 'mail' can be created as an 'A' record pointing to the server's IP where mail and site are currently hosted.