I have read many answers on the topic, but still it isn't completely clear, I might need help due to the complexity of the matter.
I will explain myself:
We have a DOMAIN name for or email which is hosted at Yahoo, we want that to be kept that way
We bought a HostGator Dedicated Server in order to host the website only.
Can we keep the email on yahoo and the web site working that way?' If so, how can we?
I am not an expert but I'm eager to learn from you. I've seen my settings on the DOMAIN and have two DNS which I suppose one is for mail and the other for the web, but I read it was a backup in case the first one is having trouble, how will it know which way it should go?
I read this but I have not a clear idea hoping you can point me to the right direction.
Register mx.example.com as a new A record pointing to 1.2.3.4. Update the MX record for example.com to point to mx.example.com. At this point, you'll have:
example.com. A 1.2.3.4
mx.example.com A 1.2.3.4
example.com. MX 10 mx.example.com.
www.example.com. A 4.5.6.7
Now wait at least twice the TTL for your records to make sure the old MX record has time to expire from DNS caches.
Next, update the A record for example.com and www.example.com to point to your new site. You'll end up with something along the lines of:
example.com. A 2.3.4.5
example.com. MX 10 mx.example.com.
mx.example.com. A 1.2.3.4
www.example.com. A 2.3.4.5
So as you can see that is an answer I get looking through all the help you provide, but since I don't have it completely clear, I'd like some help from you. I'm deeply sorry for not understanding at all but please correct me