Skip to main content

Different MX server than A record

Comments

4 comments

  • ddaddy
    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
  • cPanelMichael
    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
  • nStiac
    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 example
    0
  • quietFinn
    for example: mail IN A yourdomain.com. IN MX 1 mail.yourdomain.com.
    0

Please sign in to leave a comment.