Answer the question
In order to leave comments, you need to log in
How to correctly set up downloading files from a subdomain?
Hello!
I decided to place scripts and styles on separate subdomains script.site.ru and style.site.ru respectively.
In the header of the site I placed links like src="http://script.site.ru/common/customscript.js"
Everything seems to be working.
But for some reason, in the 1st case out of 3, or even more often, these files are not loaded.
I can't understand what is the reason.
Perhaps it is worth somehow additionally setting up subdomains?
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question