My domain name is example.com. I have a dedicated server with WHM. Last year, I had created hostnames on the dedicated server as ns1.example.com & ns2.example.com. I used the same dedicated server for hosting as well as emails. My mx record was example.com itself.
Now, I have renewed my website and hosted on AWS. I just changed the A record to point example.com to the IP address provided by AWS. But, my emails are still on the dedicated server. After changing my A record, my emails have stopped working.
How can I solve this issue.
Thanks in advance.