Wildcard certificate 404 solution doesn't work

I have this issue here: https://istio.io/latest/docs/ops/common-problems/network-issues/#404-errors-occur-when-multiple-gateways-configured-with-same-tls-certificate

Whilst implementing it the exact way it was said to work. I have the istio-ingressgateway with a Gateway called “https-gateway” with all the hosts defined and my VirtualServices all use that as the selector. However when my app on the frontend loads, it calls one virtual service and then the other straight after and it gets a 404.