[CentOS] Is there any way I can deploy cPanel web hosting control panel with Microsoft Exchange 2016 groupware behind one static public IP?

Fri Jul 20 17:42:27 UTC 2018
Turritopsis Dohrnii Teo En Ming <turritopsis.dohrnii at teo-en-ming.com>

Seems like I can install nginx on a virtual machine and port forward from my pfsense firewall to it, according to the following article.


Article: Set up Nginx Reverse Proxy

Link: https://www.techandme.se/set-up-nginx-reverse-proxy/




________________________________
From: Turritopsis Dohrnii Teo En Ming
Sent: Saturday, July 21, 2018 1:29 AM
To: CentOS mailing list
Cc: Turritopsis Dohrnii Teo En Ming
Subject: Re: [CentOS] Is there any way I can deploy cPanel web hosting control panel with Microsoft Exchange 2016 groupware behind one static public IP?


Hi,


Based on further research, it appears that Squid can only reverse proxy HTTP and HTTPs but NGINX is able to reverse proxy IMAP, POP3, and SMTP protocols.


Please correct me if I am wrong.


Thank you.


===BEGIN SIGNATURE===

Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017

[1] https://tdtemcerts.wordpress.com/

<https://tdtemcerts.wordpress.com/>[2] http://tdtemcerts.blogspot.sg/

<http://tdtemcerts.blogspot.sg/>[3] https://www.scribd.com/user/270125049/Teo-En-Ming

<https://www.scribd.com/user/270125049/Teo-En-Ming>===END SIGNATURE===


________________________________
From: Turritopsis Dohrnii Teo En Ming
Sent: Saturday, July 21, 2018 1:18 AM
To: CentOS mailing list
Cc: Turritopsis Dohrnii Teo En Ming
Subject: Re: [CentOS] Is there any way I can deploy cPanel web hosting control panel with Microsoft Exchange 2016 groupware behind one static public IP?


Dear Richard Grainger,


I am grateful for your reply and guidance.


After reading the following article at nginx.com, I realize that I should use a reverse proxy instead of a load balancer.


Article: WHAT IS A REVERSE PROXY VS. LOAD BALANCER?

Link: https://www.nginx.com/resources/glossary/reverse-proxy-vs-load-balancer/


Presently, I am using pfSense community edition firewall. Can I install the Squid package and use it as a reverse proxy? Where can I find good installation and configuration guides on this topic?


Based on what you have mentioned, it seems that reverse proxy can only be used for HTTP and HTTPS protocols.


Can I use reverse proxy for DNS, IMAP, IMAP/S, POP3, POP3/S, SMTP and SMTP/s as well?


So requests for domain1.com goes to all services/protocols in cPanel. And requests for domain2.com goes to all services/protocols in Exchange 2016.


Is that possible? Please advise.


Thank you very much.


===BEGIN SIGNATURE===

Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017

[1] https://tdtemcerts.wordpress.com/

[2] http://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

===END SIGNATURE===


________________________________
From: CentOS <centos-bounces at centos.org> on behalf of Richard Grainger <grainger at gmail.com>
Sent: Saturday, July 21, 2018 12:29 AM
To: CentOS mailing list
Subject: Re: [CentOS] Is there any way I can deploy cPanel web hosting control panel with Microsoft Exchange 2016 groupware behind one static public IP?

You can use bind your cPanel web server to a different port or
(better) you can put your services behind a reverse proxy/load
balancer. In this scenario, for web servers running on the standard
ports (ie TCP 80 and 443), you can use HTTP host headers/SNI to
redirect requests to the appropriate backend web server based on the
domain name used.

So yes, you can have a whole bunch of stuff running behind one public
IP address if you're willing to cope with the complexity.  But
sometimes life is simpler if you can use more.
On Thu, Jul 19, 2018 at 4:45 PM Turritopsis Dohrnii Teo En Ming
<turritopsis.dohrnii at teo-en-ming.com> wrote:
>
> Good evening from Singapore,
>
>
> Is there any way I can deploy cPanel web hosting control panel with Microsoft Exchange 2016 groupware behind one static public IP? Or do I need 2 static public IP addresses at the minimum? With Exchange 2016 groupware taking up HTTP, HTTPS, IMAP, IMAPS, POP3, POP3S, SMTP, and SMTP/S ports, I personally don't think I can deploy cPanel behind the same public IP as Exchange.
>
>
> Please advise. Perhaps you have a brilliant idea. This is for experimental, testing and laboratory purposes.
>
>
> Thank you very much.
>
>
> ===BEGIN SIGNATURE===
>
> Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017
>
> [1] https://tdtemcerts.wordpress.com/
[https://s0.wp.com/i/blank.jpg]<https://tdtemcerts.wordpress.com/>

Turritopsis Dohrnii Teo En Ming's Academic Qualifications – Historical Records, Office of the Grand Historian<https://tdtemcerts.wordpress.com/>
tdtemcerts.wordpress.com
Historical Records, Office of the Grand Historian



>
> <https://tdtemcerts.wordpress.com/>[2] http://tdtemcerts.blogspot.sg/
>
> <http://tdtemcerts.blogspot.sg/>[3] https://www.scribd.com/user/270125049/Teo-En-Ming
>
> <https://www.scribd.com/user/270125049/Teo-En-Ming>===END SIGNATURE===
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS at centos.org
https://lists.centos.org/mailman/listinfo/centos