I want to allow a simple script on main domain to request a sub-domain, but due to CORS restrictions access is not allowed by any browser.
I tried several solutions but I really could not figured out ... and always failing.
To make it clear a simple javascript is used on main domain to show in an iframe latest posts from the forum which is on a subdomain.