I am trying to host fonts at www[dot]fonts[dot]epizy[dot]com/fonts/Open_Sans/ for other websites. I believed I did everything correctly.
SSL Certificate was installed, hence I can access https site: www[dot]fonts[dot]epizy[dot]com
www[dot]fonts[dot]epizy[dot]com/[dot]htaccess file is installed. If you enter www[dot]fonts[dot]epizy[dot]com/foobar/ in a browser, it will redirect to apple[dot]com:
#CORS CONFIG FOR APACHE
<FilesMatch ".(eot|otf|svg|ttf|woff|woff2)">
Header always set Access-Control-Allow-Origin "*"
</FilesMatch>
I read from forum[dot]infinityfree[dot]net/t/ensuring-only-web-browsers-can-access-your-website/49353 that there are certain AJAX CORS restrictions and may have an error message: “ * No ‘Access-Control-Allow-Origin’ header is present on the requested resource”
I am not good at website config. Any help would be appreciated.
Jay
(other information and details relevant to your question)
Ah I see, I remind you, hosting nulled content is strictly banned. IIRC, you need an Adobe Subscription and pay myfonts.com for the fonts and reselling it is not allowed.
Can’t you just serve the font files used on a particular website from the same domain and hosting as the rest of the website? It’s not like font files are so big and unwieldy you absolutely need separate storage for them.
And if this is not possible because you’re dealing with a hosting environment with limited features, fetching them from public CDN mirrors is more reliable than whatever you can cobble together yourself using freebies.