> 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/accessing-your-server.md).

# Accessing your Server

There isn't much point having an empty droplet sitting in the cloud is there? So, let's walk through how you can get access to your droplet, confirm your configuration, and transfer the application files.&#x20;

{% hint style="info" %}
We recommend you take a look at our [Get Started with your Product](/get-started-with-your-product.md) section to familiarize yourself with the project files before actually running your project.
{% endhint %}

### Accessing your Droplet

You have a couple of options available to access your droplet. One method involves accessing your [droplet console via DigitalOcean's dashboard](https://docs.digitalocean.com/products/droplets/how-to/connect-with-console/). You'll simply need to log into your DigitalOcean dashboard, find the droplet, and then find the relevant console option via your droplet menu. You'll need to log in as 'root' and provide the same password you created as part of the droplet creation process. But DigitalOcean can handle the rest from there.

If you prefer a method which doesn't require you to log into your DigitalOcean dashboard, then you'll need an application such as [PuTTY](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) or [OpenSSH](https://www.openssh.com/). If you didn't create a SSH key pair when you created the droplet, you should be fine to simply point these applications at your droplet public IP address and to log in via your root password. However, if you did create a key pair (which we highly recommend), you'll need to go through some extra steps which are [well covered by DigitalOcean](https://www.digitalocean.com/docs/droplets/how-to/connect-with-ssh/).

If all goes well, you should be able to access your droplet and see a screen similar to the below.

![](/files/Ai5m51ZSAkqKudClbjOF)

### Droplet Configuration

Even though we created a droplet which has Ubuntu and Docker pre-installed, we still need to run through a couple of quick steps to make sure everything is ready for your Django application.&#x20;

First, you'll want to make sure the distribution is up-to-date. To do so, simply run the following commands via your console:

```
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
do-release-upgrade
```

It should take 5 minutes or so to check, download and install any updates. So use this time to take a quick break if you need.

Next, we want to enable brute-force protection by running the following via console:

```
apt-get install fail2ban
```

This step will prevent IP addresses from logging into the server for 10 minutes if they provide an incorrect password three times, which is critical towards preventing patrolling bots which try brute-force tactics to access root.

Finally, we need to make sure we are running the correct version of Docker and docker-compose. This step is covered in the [Install Docker and docker-compose](/create-your-development-environment/install-docker-and-docker-compose.md) section as part of your development environment setup. But in short, you'll want to check the current installed versions and make sure they are up-to-date according to the requirements of your DjangoMango project.

### Pushing your Files

If you worked through our steps to [Set up Version Control](/create-your-development-environment/set-up-version-control.md) as part of your Development Environment, you are going to find this step a breeze. You simply need to repeat the same steps to clone your project repository to your droplet. Job done.

However, if you don't want to set up version control, your other option is to access the droplet using File Transfer Protocol (FTP). [FileZilla](https://filezilla-project.org/download.php) provides an FTP interface which can be installed on most OS types. And likewise, DigitalOcean provides a handy guide on how to get set up for [file transfer using FileZilla](https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps). In short, you should be able to access your droplet by simply entering your droplets public IP address into FileZilla and using SFTP over the default port 22.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.djangomango.com/create-your-production-environment/accessing-your-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
