Ask Your Question
0

How to host static files on a subdomain?

asked 2012-06-01 09:11:06 -0500

rornvi gravatar image rornvi flag of India
135 7 3 14
http://naviarora.com/

I want to offload all static files (css, js, images) to a separate subdomain. Please let me know the procedure to follow.

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-01 17:32:12 -0500

Fitoria gravatar image Fitoria flag of Nicaragua
816 4 19
http://fitoria.net/

You can do this by changing the STATIC_URL value, more information here

URL to use when referring to static files located in STATIC_ROOT.

Example: "/site_media/static/" or "http://static.example.com/"
link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-06-01 09:11:06 -0500

Seen: 64 times

Last updated: Jun 01 '12

Related questions