Well, you have to start learning how that works then. This isn't the place for that.
That command shows you have a mix of IP based (for 127.0.0.1) VirtualHosts and name based virtual hosts. And, that www.example.com
is your default VirtualHost
Mixing IP and name based hosts can be especially difficult
Just so you know, I am an unpaid volunteer - as are most of the helpers here. I enjoy helping but I don't have the time or interest to educate you on all parts of your system. And, you didn't even answer my question about which URL request was failing. Until I see you have a better understanding of your system I won't be commenting further.