Different MX server than A record
Hi, I have the A record of my domain pointing to an AWS server where my website is hosted.
I'm having trouble getting email to be received on my WHM server as the MX record points to my domain, but my domain points to AWS.
The MX field won't let me put in the IP address of my WHM server.
Is there a way around this?
-
I think i've fixed it, but would love to know if what I have done is ok. I've create a new A name record for mailforward pointing to my WHM IP address. I created an MX record like this: mail forward MX 0 mailforward.mydomain.com Than I changed the original MX record for mydomain to point to mailforward.mydomain.com Now emails are coming through, but is this the right way to go about this? Thanks 0 -
Hello, Yes, you can simply configure the additional "A" record for the remote email host. Here's one example of this type of record: Domain: mailforward TTL: 14400 Record Type: A IP: 1.1.1.1
Replace "1.1.1.1" with the IP address of the email server that handles email for the domain name. Then, setup the MX record: Domain: domain.com. TTL: 14400 Record Type: MX Priority: 0 Host: mailforward.domain.com.
Remember, your cPanel server must handle the DNS for the domain name if you are configuring these DNS records through cPanel/WHM. Thank you.0 -
Hello, Yes, you can simply configure the additional "A" record for the remote email host. Here's one example of this type of record: Replace "1.1.1.1" with the IP address of the email server that handles email for the domain name. Then, setup the MX record: Remember, your cPanel server must handle the DNS for the domain name if you are configuring these DNS records through cPanel/WHM. Thank you.
How do we go about it the other way arround? ie.- cpanel is not handling the DNS for the domain .. yet need it to work as MX server for said domain (Domain NS point to a third party server and from there MX records will point to our cpanel server) ... can you please provide an example0 -
for example: mail IN A yourdomain.com. IN MX 1 mail.yourdomain.com. 0
Please sign in to leave a comment.
Comments
4 comments