DNS for a Local Mail with External Website
I am always forgetting the settings for DNS of a domain where you want ot host the mail but send all web traffic to an external server or provider.
So here it is … in the permanent record along with my notes:
abc.com. IN MX 0 mail.abc.com. abc.com. IN A XX.XX.XX.XXX ( the external server's IP ) mail IN A YY.YY.YY.YYY ( local server's IP) www IN CNAME abc.com. Actually I usually have to also make the 'mail' line:mail.abc.com. IN A YY.YY.YY.YYY ( local server's IP)
SO there you have it.