So i have this two servers that i need to configure:
-Server s1 is on hostpappa (shared)
-Server s2 is a vps i own
What i need to do is keep emails hosted on s1 and the website hosted on s2. What i tried was to change A record from mydomain.com to point to s2, but emails didn't work anymore. Is there any way i can do this with dns records?
After the first attempt failed, i tried to create on s2 a cname email.mydomain.com pointing to s1 ip and adding a mx record to this newly created cname. This failed also.
You'll want:
The MX record in 2 should not point to a CNAME (this violates the requirement of section 10.3 in RFC2181. That could have been causing the trouble with email.