I know that you cannot do cross-domain ajax requests unless you use a single proxy server.
However, if I made an ajax request from server1.example.com to server2.example, would this not work even if it was in the same domain as example.com?
I'm sure sites like YouTube make ajax requests to different servers. e.g. a request from youtube.com to vs1022.youtube.com etc.
Any clarification on this would be excellent. Thank you for your time.
javascript ajax cross-domain
Flukey
source share