• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved How to host mail server in Plesk but web in another linux server?

williamplk

New Pleskian
Hello,

I want to use Plesk to host my company mail server but my website at another linux server instance.

Ex:
My domain:

DomainName.com

Server 1: IP: 11.11.11.11 (is controlled by Plesk to archive this serve email server but not website.)
DomainName.com -> email

Server 2: IP: 22.22.22.22 (is Linux instance serve nginx server for only website ecommerce.)
DomainName.com -> website

My DNS server is Cloudflare.
If I initiation Plesk first time it will asking for domain name to create website and account in Plesk.
So I point DNS DomainName.com to IP 11.11.11.11 it won't access my website at other server.

If I point DNS DomainName.com to 22.22.22.22 to this IP I can access website but I can't use email.


How do I configure it?
 
You do this using DNS - MX record.

You have to set your MX record in your DNS point to Plesk Server.

Your Plesk Server Host Name eg - mailserver.DomainName.com

In your DNS, (CloudFlare)

mailserver.DomainName.com (A) 11.11.11.11

DomainName.com (MX) mailserver.DomainName.com
 
Or you can simply add your DomainName.com to Plesk.

Then in CloudFlare,

mail.DomainName.com (A) 11.11.11.11

DomainName.com (MX) mail.DomainName.com
 
Back
Top