# Get started with Dokploy

> Create a cloud server with Dokploy, sign in, give the panel a domain with HTTPS and deploy your first app or database.

Source: https://docs.phluit.com/products/managed-vms/dokploy/

Dokploy deploys apps and databases with Docker on your own server: from Git, a Docker image or Docker Compose, with free SSL certificates. It's free and open source. You pay only for the server.

## Create the server

1.  Open [portal.phluit.com/cloud/create?panel=dokploy](https://portal.phluit.com/cloud/create?panel=dokploy). Dokploy is already selected under **Choose an image → Control panels**.
2.  Pick a location and a size. Dokploy needs at least **2 GB of memory, 1 vCPU and 30 GB of disk**; smaller sizes are greyed out.
3.  Choose how you log in (an SSH key is best) and click **Create server**.

We install Dokploy on Ubuntu 24.04 at the first boot and create its admin account with a password we generate. It's ready after about **6 minutes**. Until then, every port except SSH stays closed, so nobody else can claim the panel first.

## Sign in

On your server's **Overview** tab, the Dokploy card shows:

-   **Sign-in address:** `http://<server-ip>:3000`
-   **Username:** the e-mail of your Phluit account
-   **Password:** click **Show** or **Copy**

See [How do I sign in to my control panel the first time?](/products/managed-vms/sign-in-to-your-control-panel/)

## Give the panel its own domain

The address with `:3000` uses plain HTTP. To sign in over HTTPS:

1.  Add an **A record** for a name such as `panel.example.com` that points to your server's IP address. If your domain uses Phluit DNS, see [How do I add, edit or delete DNS records?](/products/domains-dns/manage-dns-records/)
2.  In Dokploy, open **Settings → Web Server** and add that domain with a Let's Encrypt certificate.
3.  Sign in at `https://panel.example.com`. You can then block port 3000 in the [cloud firewall](/products/managed-vms/cloud-firewall/) so the panel only answers on its domain.

## Deploy your first app

1.  In Dokploy, create a **project**.
2.  Add an **application** (from a Git provider, a Git address or a Docker image), a **database** or a **Docker Compose** stack.
3.  On the application's **Domains** tab, add its domain with HTTPS, and point that domain's A record to your server's IP address.
4.  Click **Deploy**.

Dokploy's own guides are at [docs.dokploy.com](https://docs.dokploy.com/).

## Firewall

If you use the [cloud firewall](/products/managed-vms/cloud-firewall/), allow:

| Port | For |
| --- | --- |
| 22 | SSH |
| 80 and 443 | Your apps and the panel's domain |
| 3000 | The panel, until it has its own domain |

## Backups

-   **The whole server:** turn on automatic backups or take a snapshot in the portal. See [Backups and snapshots](/products/managed-vms/cloud-backups-and-snapshots/).
-   **Databases inside Dokploy:** Dokploy can back them up to S3-compatible storage, such as [Phluit Object Storage](/products/object-storage/).

## Good to know

-   You keep Dokploy up to date yourself, from inside the panel.
-   If you change the admin password in Dokploy, the password on the server's card no longer applies.
-   **Rebuilding** the server installs Dokploy again from scratch and erases all apps and data. See [How do I rebuild my cloud server?](/products/managed-vms/rebuild-a-cloud-server/)
-   The panel doesn't open, or the sign-in details don't work? [Open a ticket](https://portal.phluit.com/tickets/create) with your server's name.
