Author Topic: Serving different sites through Apache and NGINX  (Read 2855 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Serving different sites through Apache and NGINX
« 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:



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

Thanks.

Offline
*
Re: Serving different sites through Apache and NGINX
« Reply #1 on: May 07, 2021, 07:58:41 AM »
Nevermind. Should have read carefully, looks like this isn't possible.