Ask Your Question

How to host static files on a subdomain?

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

naavi's avatar

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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 ""
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 294 times

Last updated: Jun 01 '12

Related questions