So we have a windows ec2 instance. It has iis installed on it. Now our php website in hosted on iis. And the index.php page is inside C:/inetpub/wwwroot/project/public/index.php. But when I give this path in application load balancer health check path, it shows unhealthy instance with error message "Health checks failed with these codes: 404" Cannot figure out what health check path to give to fix this?
The website is accessible via its domain name publicly.
Note : When I had the default iis website up, the load balancer health check was showing healthy instance, but after hosting my own website under default website in iis, I'm getting the health check failed error.