Configure Virtualmin/htaccess to access files via subdomain?

Hi, Replacing with in database was actually point 4 in the keycdn tutorial :slight_smile:

This is not topic of Virtualmin, but anyway, you need to add cors header. I did not even notice because i dont use woocommerce but one of my plugins css was also not loaded because of missing cors. You just have to addcors header. If you use apache then add next lines to your public_html/.htaccess (found the solution here:

AddType application/ .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/font-woff .woff
<FilesMatch “.(eot|ttf|otf|woff)”>
Header set Access-Control-Allow-Origin “*”

Solved in my site, hope it works in your site as well.

Hi @tsekka,

Thank you so much. We had a live chat installed on and had problems on our main site and By adding your code the problem went away. Just got to love the Virtualmin community, always able to assist.