DNS Records when sending website one place and email to another

I need to set DNS records for when a website is hosted at one IP/Location (let's call it xxx.xxx.xxx.001) and Email goes to a different IP/location (Let's call it xxx.xxx.xxx.002)
I've setup MX Records and a couple test Emails seem to work.
MY QUESTION IS:
Do I need to make any change to the Host Records? For example, right now I have:
www     A rec     xxx.xxx.xxx.001
  @        A rec     xxx.xxx.xxx.001
  *         A rec     xxx.xxx.xxx.001
(and No host records pointing to xxx.xxx.xxx.002)
LVL 1
bleggeeAsked:
Who is Participating?
 
Jim RiddlesPrepress/OMS SpecialistCommented:
That looks like a solid setup to me.  The only change I would suggest is making "www" and "*" cnames to @.  That way you only ever need to update the IP address one time, in the future.
0
 
bleggeeAuthor Commented:
What do those 3 mean? www and @ and *    (I presume they have nothing to do with email)
0
 
nociSoftware EngineerCommented:
I Agree to Jim.

You will need a MX record in this zone with a different domain name  (or an extra A record here) for the mail server.
(Also think of SPF & DKIM etc.)
0
Live Q & A: Securing Your Wi-Fi for Summer Travel

Traveling this summer? Join us on June 18, 2018 for a live stream to learn about the importance of Wi-Fi security and 3 easy measures you can start taking immediately to protect your private data while using public Wi-Fi. Follow us today to learn more!

 
Jim RiddlesPrepress/OMS SpecialistCommented:
@ is the base host name for your domain, i.e. mysite.com.
www is the host name for people accessing your site at www.mysite.com.
* is a wildcard indicator indicating that entering any single host name directly before the base domain.  This is handy if you are planning on hosting multiple sites on the same domain,  i.e. sales.mysite.com, support.mysite.com.
0
 
nociSoftware EngineerCommented:
* will also drive traffic for asdfasdfasdf.mysite.com or JKhjnh665$.mysite.com to the server, so you need to handle those cases as well....
0
 
bleggeeAuthor Commented:
Thanks both of you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.