Cloudflare: Linking to other files on server/subdomains - problems?

Hey guys,

I’ve got a basic question that I can’t seem to find the answer to. I’m launching some static sites (html,css, js only) on my GoDaddy VPS and want them to all share the same stylesheets and few other scripts to make them easier to maintain. The sites will all be on different subdomains but will more or less have the same content and style.

Will I run into any issues with them loading these files across subdomains if all of them are hosted on cloudflare? Am I missing an easier way to implement all of this?

Thanks!

You won’t. If the sites are running under differents domain you could also easily setup a subdomain for each site like scripts.domain1.com scripts.domain2.com and point them to the script host or folder. But that’s unnecessary from the technical perspective.

Awesome, thanks Mark!

This topic was automatically closed after 31 days. New replies are no longer allowed.