> For the complete documentation index, see [llms.txt](https://docs.djangomango.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.djangomango.com/create-your-production-environment/create-a-storage-space.md).

# Create a Storage Space (optional)

Django is not great at serving static content, it's true. And while we include pre-configured NGINX configurations with our products, you may still want to consider getting a dedicated storage space. Some of our products even come pre-configured for using a DigitalOcean managed storage space, so all you'll need to do is enter in your credentials.

{% hint style="info" %}
Note that you may also [reference the Digital Ocean guide](https://www.digitalocean.com/docs/spaces/how-to/create/) for these steps.
{% endhint %}

### Create your Space

To get started, access your DigitalOcean dashboard, and find the 'Create > Spaces' option. You'll be presented with a couple of options, which we will work through step-by-step below.

### Choose a Region

As with the droplet and managed database, you'll need to select a region to locate your space. We recommend you locate this in the same region as your droplet if possible. Or at least in as close proximity as possible.

![](/files/-MH26dX_wWY7HqVcZCjX)

### CDN

Next, you'll have the option of enabling a Content Delivery Network (CDN). This service provides some performance improvement by caching your files at the edge. It's optional, but can offer a good performance boost when serving content to users across the globe.

### File Listing

Finally, you need to select whether you would like to allow anonymous users (those not accessing the space through your application for example) with permissions to list your space content. Make the choice, but do note that selecting 'restricted' won't make your files private. For that, you'll need to ensure you change the file property manually through DigitalOcean's space browser, or ensure that you are uploading the file using our custom private media storage class.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.djangomango.com/create-your-production-environment/create-a-storage-space.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
