Enabling CORS for web hosting?

Hi,

Is it possible to enable CORS (https://www.w3.org/TR/cors/) to allow cross domain access to files? I’ve poked around the Control Panel and didn’t see such an option.

I can be more precise/technical but wonder if this is an easy setting and I’m just missing how it’s done.

Thanks,

Sebastian.

Hi there, typically this can be set in an .htaccess file for the site with a single line enable cross-origin resource sharing (on cPanel servers there’s no need to restart Apache).