Hi Experts, I wanted to confirm how to do this right... (if its possible)
I have VPS-A - runs my cpanel/WHM with the nameserver and domain mydomain.com
I have VPS-B - runs the website with mydomain.com
In the DNS, I have the A record for the website mydomain.com. There isn't a mail server on that website VPS-B, but I'd like to create email accounts on VPS-A.
Would i create an A record mail.mydomain.com with VPS-A Ip, and change the MX record in the DNS to say mail.mydomain.com ?
I want it that when people to to mydomain.com it takes them to the website on VPS-B, but if they send mail to @mydomain.com it goes to VPS-A mailboxes (within Cpanel user account)
Sorry - I have Question 2. I added mydomain.com to WHM (add DNS zone). How can I associate that Domain to the cpanel user account so I can create email addresses in Cpanel? I read to use "Modify account", but i go in there and I don't see any options for anything?? Just to search for a domain.
( I did search for this - but there are soooo many hits on so many of the key words).