I know that there are so many cross-domain issues, but I could not find what I was looking for.
I would like to make an AJAX client request from a.com to b.com, which is obviously not allowed. I thought that if I created a CNAME → b.com CNAME record, the browser would allow this request, as this means that someone who owns the a.com domain wants to explicitly allow requests for b.com, but I still until now I get access -Control-Allow-Origin, which does not allow the request. Is this query unable to complete with CNAME?
Note. I have no control over b.com, so I can’t set the headers there.
user1112594
source share