I have a stage.domainX.com
and domainX.com
. How do I adjust the MX records accordingly to where all mail sent to stage.domainX.com
goes to one server (IP1 66.xx.xx.xx) and all other mail sent to domainX.com
goes to another server (IP2 67.xx.xx.xx)?
[email protected] -> IP1
[email protected] -> IP2
Make sure you have DNS records for the mail servers, for example:
Then create an
MX
record for each domain:The correct way of doing it would be the delegating stage.domainX.com Refer to the documentation to delegate stage.domainX.com http://www.zytrax.com/books/dns/ch9/delegate.html