We have Haproxy installed in a CentOS VM.
I need to load balance access to 3 IIS servers using SSL.
The VIP was created on keepalived.conf and the SSL certificate is being issued.
If I go to HAproxy stats page everything is green and I can see the traffic.
DNS was set up.
However, I am only being forwarded to the IIS page when using the ip address of the frontend load balancer.
If I try to use the hostname I am getting a 403 forbidden access error message in the browser.
My Haproxy config file shows the following.
listen services bind 10.10.10.120:443 ssl crt /etc/haproxy/certs/wildcard.example.com.pem mode http maxconn 2000 balance leastconn option redispatch server iisl004 10.10.9.100:80 check server iisl005 10.10.9.101:80 check
I can I be forwarded using the hostname instead of the IP address?
Is the error coming from the IIS server?
If I type https://10.10.10.120 in the browser it is working fine.
1 Asked on November 4, 2021 by brett-maes
1 Asked on November 4, 2021 by fskexp
0 Asked on November 4, 2021 by bcubk
0 Asked on November 4, 2021 by umesh
0 Asked on November 4, 2021 by wojtas-zet
1 Asked on November 4, 2021 by ajiroghene
1 Asked on November 4, 2021 by maxxer
0 Asked on March 16, 2021
2 Asked on March 11, 2021
2 Asked on March 4, 2021 by shailesh-sutar
1 Asked on February 28, 2021 by cj7
1 Asked on February 28, 2021 by wobbo
0 Asked on February 27, 2021 by cabz
1 Asked on February 26, 2021 by sj19
0 Asked on February 25, 2021 by hooman-bahreini
Get help from others!