K
K
KamilFo2014-06-18 10:52:41
PHP
KamilFo, 2014-06-18 10:52:41

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

1 answer(s)
A
animhotep, 2014-06-18
@animhotep

in the browser inspectors there is a section "Network", there
open the progress of loading the page files, see what errors when loading from subdomains

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question