---
title: "Deploy Backend Apps on Hostman | Hostman Docs"
description: "Learn to deploy backend applications on Hostman’s platform with ease and ensure scalability and security."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

To deploy a backend application on Hostman, go to the [App Platform](https://hostman.com/app-platform/) section and click **Create App**.

## Step 1. Select the Application Type

Go to the **Backend** tab and select the framework your application uses. 

![1e205198 Eb6c 49e0 Bd9a 13ab6d4aec95](https://content.hostman.com/assets/6f2fdfe1-68a6-4ff0-b2e2-0fb591ab4551.png?width=1532&height=1181)

## Step 2. Connect Repository

You can connect a repository:

-   From your GitHub, GitLab, or BitBucket account. Click on the platform name, log in and select the desired repository. If you are already logged in, Hostman will immediately show the available repositories.
    
-   By URL, providing a link to a repository created on any platform. Click **Connect the repository via URL** and enter the Git URL of the repository. If the repository is private, also enter the access details.
    

Read more about connecting repositories [here](https://hostman.com/docs/app-platform/connecting-repositories).

## Step 3. Select Branch and Commit

Select a branch for deployment. The menu displays the 200 most recent branches, as well as the default branch (`master`, `main`, or `default`) if the repository is connected via GitHub, GitLab, or Bitbucket.

By default, we enable the **Build by the last executed commit** option. In this case, the App Platform will deploy the latest commit, and later will automatically rebuild the application when you add new commits to the repository. If necessary, you can [disable automatic deployment](https://hostman.com/docs/app-platform/managing-apps/#autodeploy) in the future.

If you want to select a specific commit manually, disable this option.

## Step 4. Select Server Location and Configuration

Your application must run on a separate cloud server. Select the region where the server should be located and its configuration.

![81144732 3428 42f9 9d6d Ac0a6df737c1](https://content.hostman.com/assets/e92ba826-9867-4c38-a66d-772fd616d8da.png?width=915&height=833)

You can always [upgrade](https://hostman.com/docs/app-platform/managing-apps/#changing-the-server-configuration) your server later, however, downgrading will not be possible.

## Step 5. Configure Private Network

Now, you can add the application to a private network and specify the IP address the app will use.

Note that you cannot change the private network after the deployment.

Apps with a private IP address may experience a short downtime during redeployment, as existing ports need to be freed up before the new version starts.

![07ca8daf 4933 4cfb 9ba2 Edec8c485c4c](https://content.hostman.com/assets/4bdeee3f-44ae-423c-b943-58e40928e971.png?width=708&height=294)

## Step 6. Configure the App Settings

At this stage you can set up:

-   the build command;
-   dependencies;
-   the startup command;
-   the project directory path;
-   the [healthcheck path](https://hostman.com/docs/app-platform/healthcheck-path/);
-   [environment variables](https://hostman.com/docs/app-platform/variables/).

![Bce39925 D8cc 49db 87d5 3ce5f469bf69](https://content.hostman.com/assets/fa903eff-af79-4354-ab98-565081ccf5fb.png?width=622&height=709)

In most cases, the app platform will automatically determine the start command for your project, so you can leave it unchanged.

If you need additional system packages (for example, for building a project), specify them in the **Dependencies** section. They will be passed to the `apt install` command. You can enter multiple dependencies separating them with a space.

If your project files are located in a subdirectory rather than in the repository root, specify the path to that directory in the **Project directory path** field.

When a path is specified:

-   The working directory switches to the specified folder.
-   Dependencies are installed using the project files located in that folder.
-   Build and run commands are also executed from that folder.

You will be able to [change any of these settings](https://hostman.com/docs/app-platform/managing-apps/#deploying-with-new-parameters) later and redeploy the app with the new parameters.

## Step 7. Enter the App Information

Here you can specify a name and a comment for your application to be displayed in the Hostman dashboard. You can also select a project to add the app to.

These settings can also be changed later.

## Step 8. Deploy

Click **Create**. Once the process starts, you will see the deployment log on the **Deploy** tab.

The deploy log contains all the necessary information to solve possible issues. If something goes wrong, for example, due to errors in the code, the deploy log will display the notification about it specifying the cause of the problem.

When you first deploy a project, the server installation may take some time. Once the process is completed, the application status will be updated, and you will also see a message about this in the log.

All done!

You can find the application's IP address and the technical domain linked to the app in the **Dashboard** tab. The application will be available on port 443; port 80 is also open.

To link your own domain to the app, follow [this guide](https://hostman.com/docs/app-platform/managing-apps/#linking-a-domain).

In the future, the App platform will monitor updates in the repository and, if [automatic deployment](https://hostman.com/docs/app-platform/managing-apps/#autodeploy) is enabled, automatically rebuild the project with new changes.
