Symptoms
- Some of icons, fonts or images failed to load on website
.
example.com
- External domain
is the source of those objects
example2.com
- The following errors could be found under Console tab while inspecting loading of website page using developer tools like Firebug (press F12 key in Firefox or Chrome):
Access to Font at 'https://example2.com/fonts/glyphicons-halflings-regular.woff2' from origin 'https://example2.com' has been blocked by CORS policy: No 'Access-Control -Allow-Origin 'header is present on the requested resource. Origin 'https://example2.com' is therefore not allowed access.
Cause
CORS (cross-origin resource sharing) is not configured on the external source domain
example2.com
Resolution
Configure cross-origin resource sharing (CORS) on external source domain with help of the article How to set up CORS (cross-origin resource sharing) in Plesk?
Additional Information
Is it possible to enable CORS (cross-origin resource sharing) on Plesk for Windows?