cross domain requests

Website URL

mejun.free.nf

Error Message

Access to XMLHttpRequest at ‘https://mejun.free.nf/php/proba.php’ from origin ‘https://mejun.top’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Other Information

Are cross domain requests allowed on free hosting?

Nope. Only requests from the same domain are allowed to be made to another domain (even if it’s a subdomain of the domain doing the calling).

You can redirect the user, or consolidate to one domain instead.

7 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.