Control Web Panel

WebPanel => Apache => Topic started by: anupamg on May 07, 2021, 07:46:04 AM

Title: Serving different sites through Apache and NGINX
Post by: anupamg on May 07, 2021, 07:46:04 AM
So I have these 2 sites, one of which I need to serve through Apache and the other through NGINX. Since I was unable to find any SOP/documentation for such a scenario, I went ahead with what seemed obvious.

Site-2-Nginx has been configured, and works perfectly.

The Site-1-Apache has a problem where it is giving me a 404 page served by NGINX.
Opened up the Apache ports in CSF/LFD as well.

Setting for Webserver Domain Conf > Site-1-Apache > Webserver Config:

(https://prnt.sc/12m572a)

How do I set Apache to be the actual main webserver for this domain instead of working alongwith Nginx as proxy.

Thanks.
Title: Re: Serving different sites through Apache and NGINX
Post by: anupamg on May 07, 2021, 07:58:41 AM
Nevermind. Should have read carefully, looks like this isn't possible.