Add Email Server to DNS hosted on other service provider
Hello,
We have a in house application server running on Apache. This was setup on public IP and its A record was added to our DNS server so that application deployed here access from DNS instead of IP.
We also setup a postfix email server on this linux (Ubuntu) server and added its MX records to our DNS as well. But later we start facing email issues like delay in emails and sometime emails skipped (added to the postfix queue).
Later we think to setup a email server which is hosted on other service provider now (access from cpanel). We created a same account name i.e xyz.com and same DNS is already registered on DNS to access application via example.com
Now we want to setup a records for this email server to our DNS so that we can send/receive emails from @example.com domain from this email server now.
Please help me on how to setup the records for this.
-
Now we want to setup a records for this email server to our DNS so that we can send/receive emails from @example.com domain from this email server now. Please help me on how to setup the records for this.
Hello, You can setup "A" and "MX" records for this domain name at it's DNS hosting provider. The "A" record should point the "mail" subdomain to the IP address of the cPanel server, and the MX records should point to a hostname that resolves to the cPanel server. EX:mail "CNAME" example.domain.com. example "A" 1.2.3.4 domain.com. "MX" 0 example.domain.com.
Thank you.0
Please sign in to leave a comment.
Comments
1 comment