This question already has an answer here:
I have an existing working physical server serving up web pages and email. I need to point the DNS records to a new physical server for the web pages, leaving the email server as is.
I have my DNS records set up like the example below.
Please note that I did not use mail for the hostname in MX records and all email clients use just the domain name in their setting for IMAP4 and SMTP and POP and I really do not want to reconfigure all of them.
How would I change these so the new web server will receive the web requests and the existing mail server will keep running as is?
I am using dotyou.com to register my domain names and be the host for my DNS. This is the syntax they use in their DNS control panel and it is all that I am familiar with.
I am using the domain name example.com instead of my real domain name for this example.
Edit host Files for domain (example.com) Hostname Address Record type MX Pref 1) www 188.8.131.52 A 10 2) @ 184.108.40.206 A 10 3) @ example.com. MX 5 4) www example.com. MX 7