---
title: Add an application
project: SuperAdmin
version: 9.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/superadmin/9-0/guides/add-application/
updated: 2026-11-19T08:00:35.592Z
---

# Add an application

> Register a web app with its address so that SuperAdmin runs it and configures Nginx.

An application in SuperAdmin is a web app with its own address. SuperAdmin creates a folder for it, writes its Nginx file and starts it. You add the code right after, in the next step.

Before you add an app, point the DNS A record of its domain to the server.

## Add the app

**1.** Select **Add > App**.

![The Add menu with App and Service](/files/JapVsk1y361f.webp)

**2.** In **URL address**, type the full address with `http://` or `https://`, for example `http://shop.example.com`.

**3.** In **Internal name**, type a name for the list, for example `Demo shop`.

**4.** Choose or type a **Category**. Apps with the same category are shown together.

**5.** Choose the mode. **Enable debug mode** is selected for a new app; clear it for an app in production. See [Debug and release mode](#debug-and-release-mode).

**6.** Under **Type of application**, choose **Total.js v4**, **Total.js v3** or **Custom**. For other Node.js apps, see [Run a plain Node.js app](../../recipes/plain-nodejs-app/).

**7.** Select **SUBMIT**.

![The Create application form](/files/JapVsn1z360f.webp)

SuperAdmin saves the app and opens **Upload source-code** at once. Continue with [Upload source code](../upload-source-code/).

The other fields are described in [Application settings](../../reference/application-settings/). You can change them later with **Settings** in the menu of the app.

## What SuperAdmin creates

- A folder in `/www/www/` named after the domain, for example `/www/www/demo_test` for `demo.test` and `/www/www/example_com-shop` for `shop.example.com`.
- An Nginx file in `/www/nginx/` that passes the domain to the app. For a domain such as `example.com`, it also redirects `www.example.com` to it.
- A start script `index.js` in the app folder. Do not replace it: SuperAdmin writes it again on every start.
- A port number. The first app gets `8000`, the next one `8001`, and so on. A **Total.js v4** app with **Use Unix socket** talks to Nginx through a socket file instead.

## Debug and release mode

- In **debug mode**, the app starts again by itself a few seconds after you change one of its files. The list shows a purple **debug** badge.
- In **release mode**, the app runs as it is. Each time it starts, SuperAdmin copies its previous log to `/www/logs/`.

Changing the mode restarts the app.
