- Server operating system version
- CentOS7
- Plesk version and microupdate number
- Onyx 17.8
Hi,
Im using Azure infrastructure (Application Gateway, VNets and Virtual Machines) to create a mirror setup using CentOS7 Plesk Obsidian with a load balancer aka the Application Gateway for resilience.
Everything is configured properly, except Plesk is serving the default homepage files from /home/vhosts/default/htdocs on both instances, and I've been trying for 12 hours to understand why.
As I understand it, the VirtualHosts configuration serves the correct htdocs folder location, based on the headers in the request. I've ensured that the Azure infrastructure is passing all the original requests to Plesk, but the only way I have managed to get the correct site/domain to show is by manually editing the /etc/httpd/conf/plesk.conf.d/server.conf to manually use the correct folder location (e.g. /var/www/vhosts/mysite.org/htdocs) but this is problematic and not working properly when trying to serve includes from folders.
Please could someone shed some light on what possible problems could be causing this, and how exactly the request to Apache/nginx is passed to request the correct site?
Im using Azure infrastructure (Application Gateway, VNets and Virtual Machines) to create a mirror setup using CentOS7 Plesk Obsidian with a load balancer aka the Application Gateway for resilience.
Everything is configured properly, except Plesk is serving the default homepage files from /home/vhosts/default/htdocs on both instances, and I've been trying for 12 hours to understand why.
As I understand it, the VirtualHosts configuration serves the correct htdocs folder location, based on the headers in the request. I've ensured that the Azure infrastructure is passing all the original requests to Plesk, but the only way I have managed to get the correct site/domain to show is by manually editing the /etc/httpd/conf/plesk.conf.d/server.conf to manually use the correct folder location (e.g. /var/www/vhosts/mysite.org/htdocs) but this is problematic and not working properly when trying to serve includes from folders.
Please could someone shed some light on what possible problems could be causing this, and how exactly the request to Apache/nginx is passed to request the correct site?