Seperate mail server behind Proxy
Hi all,
I am new to cpanel. Previously I have been using Virtualmin which allowed me to proxy a domain name over to another internal sever for webmail access.
So lets say mail.example.com would hit the web server and then redirect to http://[Internal IP of mail server] it would allow me to load the webmail of the secondary local server using https protocols and verified the ssl installed externally.
As I only currently have 1 public IP I cannot map port 80 to both servers so need to redirect port 80 and 443 for this specific domain to the secondary local server (the mail server is a windows server using IMAP webmail if relevant).
Any help would be appreciated!
-
Hello, Wouldn't it just be a matter of setting the A record for mail.domain.tld to the secondary server? Then you'd add that as the MX record and mail would be delivered to the alternate server and not be managed at all on the local cPanel server. You'd install the SSL certificate and manage all of that on the secondary server. The only thing you wouldn't have would be an internal IP address for mail. 0 -
Hi, You can use mod_proxy to proxy over to another internal server: ProxyPassReverse / 0
Please sign in to leave a comment.
Comments
2 comments