When you want a website to use the external email server from VPS, you need to configure the DSN parameters on VestaCP. These steps apply to the Ubuntu 16.04 version and over.
Configure DNS for the external email in VestaCP on VPS
- Log in to the Control panel of your website on Vestacp.
- Click on the DNS tap.
- Click on the LIST RECORDS tap of the domain that you want to use the external email server.
- Locate and replace the IP address in the two records below to your external mail server IP. Please note: The IP 192.0.2.23 is an example.
- mail A 192.0.2.23
- smtp A 192.0.2.23
- Find and replace the email domain in the record below to your domain name of the external mail server. Please note: the email domain mail.example.com is an example, that you need to change into yours. Do not delete a dot (.) at the end domain.
- @ MX mail.example.com.
Then, save it. You have just finished configuring the DNS parameters to use external emails that are different from the VPS hosting.
If you find it useful, please share it! Thank you!
Leave a Comment
Log in to post a comment.