How to Create an Application

Deploy an application onto an existing server with its database created and wired in, and what each choice on the create form commits you to.

6 min read, 12 sections, Updated , Published

Every field in the create-application form, what each choice changes, and what happens after you click Create Application.

Getting here: Servers → a server → Applications → Create Application.

An application is a site or service running on a server you already have. One server can host several applications, each with its own code, database, domain and SSL certificate.

1. Application Name

Enter a name under Application. It is required. It is used throughout the panel and in the application's folder on the server, so choose something you will recognise in a list, such as shop-production.

2. Web Server

Under Choose webserver, select NGINX or APACHE. Both work for most applications. Choose Apache if your project relies on .htaccess rules.

3. Application Type

Under Select application type, choose what to install. Applications are grouped into tabs:

CategoryExamples
Frameworks & LanguagesLaravel, MERN, Core PHP, Node App, React App, Python
CMS & E-commerceWordPress, Magento 2, OJS
Business Appsn8n, Cal.diy, MQTT, FreeScout, Formbricks, Chatwoot
AI AgentsOpenClaw, Claude Code and other agents
Quick StartBlank Server, Deploy from Image
MigrationCustom Migration, for moving an existing application from elsewhere

Click the info icon on an application to see its details. If the application needs more RAM than the server has, an Insufficient Server Resources message tells you how much it needs, with a link to upgrade the server plan.

4. Versions

The version options depend on the application:

ApplicationOptions
LaravelLaravel Version (9 to 13) and PHP Version.
Core PHPPHP Version (7.4 to 8.5).
Magento 2Magento Version (2.4.4 to 2.4.9) and a PHP Version limited to versions that release supports.
OJSOJS Version (3.2.1 or 3.3.0) and a compatible PHP Version.
PythonPython Version (3.11 to 3.13) and Node Version (16 to 20).
Custom MigrationFrontend Technology and Backend Technology of the application you are moving.

Each PHP application runs in its own PHP-FPM pool, so two applications on the same server can use different PHP versions. Python is different: if the server already has a Python application, the Python and Node versions are Locked to existing application, and the new application uses the same versions.

Choose the version your project needs rather than simply the latest. A project written for PHP 8.1 may not run on 8.4 without changes.

5. Database

Choose the database engine for the application. Only engines the application supports are offered, and some applications pre-select a default:

ApplicationDatabase options
WordPress, Magento 2MySQL (default), MariaDB
OJSMySQL (default), PostgreSQL, MariaDB
MERN, Node App, React AppMongoDB
n8nSQLite (default), MySQL, PostgreSQL, MariaDB
Laravel, Core PHP, PythonMySQL, PostgreSQL, MongoDB, MariaDB

If you choose PostgreSQL, also choose a PostgreSQL Version (14 to 18). SharkCluster creates the database, a user and a password, and connects them to the application. The credentials are shown on the application's page afterwards, so you do not need to set them yourself.

For a database that should outlive the server or be shared between applications, use a Managed Database cluster instead; see the Managed databases guide.

6. How to Set Up the Application

Choose one of:

OptionUse it when
Fresh InstallationYou want a new, empty installation of the application.
Deploy from Git RepoYour code is in a GitHub, GitLab or Bitbucket repository.
Upload ZIPYou have your source code as a ZIP file.

Deploy from Git Repo

  1. 1Choose the Git Provider: GitHub, GitLab or Bitbucket.
  2. 2Enter the Repository URL, for example https://github.com/username/repo.git. Public and private repositories are supported.
  3. 3Enter the Branch to Deploy, for example main. Check it carefully: deploying the wrong branch builds without errors but shows the wrong code. For OJS, use a release branch such as stable-3_5_0 rather than main.
  4. 4Choose the Authentication method (below).
  5. 5Click Verify Repository Access to check that the repository, branch and credentials work together before creating the application.
AuthenticationWhat to provide
Access TokenA personal access token with read access to the repository (ghp_… on GitHub). For Bitbucket App Passwords, also enter your Bitbucket username.
SSH Deploy KeyGenerate a key, then add the public key shown as a read-only deploy key in your repository: GitHub: Settings → Deploy keys; GitLab: Settings → Repository → Deploy keys; Bitbucket: Settings → Access keys.
Public RepoNothing. No authentication is needed for public repositories.

For private repositories, prefer the SSH Deploy Key: it gives access to that one repository only, whereas an access token has whatever access your account has. Add the deploy key to the repository before creating the application; a missing key is the most common reason the clone fails.

Upload ZIP

Select a .zip file under Source Code (.zip). It uploads straight away and shows a confirmation when it is ready. If the ZIP contains a single top-level folder, such as a GitHub Download ZIP export, it is flattened so your files land directly in the application folder.

Deploy from Image

For Deploy from Image, enter the container details instead:

FieldDescription
Registry Host (optional)Your private registry host. Leave blank for public images.
Registry Username / PasswordCredentials for a private registry.
Image Name and TagThe image to run, such as myuser/myimage and latest. Image Name is required.
Environment Variables (optional)One KEY=value pair per line.
Container PortThe port your container listens on, such as 80 or 3000. Required. It must match the port the image actually uses, or the container starts but cannot be reached.

7. Automated Backups

Automated Backups sets a backup schedule for this application. It defaults to the server's backup settings. Choose Weekly or Daily, then set the hour, minute, AM/PM and, for weekly backups, the day of the week.

8. Summary and Create

The Summary panel on the right shows the Application Details, Versions, Database Configuration and Automated Backups. Check the versions before creating: the difference between Laravel 12 and 13, or PHP 8.1 and 8.4, is better caught now than after deployment.

Click Create Application. The button shows Creating... while the request is sent. If anything required is missing, a message tells you what, for example the repository URL, branch, access token, deploy key, ZIP file, image name or container port.

You cannot create an application while you have an unpaid invoice past its due date. Pay it from Billing, then try again.

9. What Happens Next

You are taken to the installation page, which shows progress as SharkCluster:

  1. 1Installs the runtime if needed: the PHP-FPM pool, Node version or Python version you chose.
  2. 2Configures the web server for the application.
  3. 3Creates the database, user and password, and writes them into the application's configuration.
  4. 4Brings in your code: a fresh installation, a Git clone, a ZIP upload or a container image.
  5. 5Installs dependencies and runs any build step.

If something fails, the installation page shows the error and logs.

10. After It Is Created

Open the application from the server's Applications list. Its pages include domains and SSL, deployment, database credentials, backup and restore, cron jobs and staging.

Recommended order: point your domain, issue SSL, check backups are running, then test a restore.

11. Common Problems

ProblemWhat to check
Cannot create the applicationPay any overdue invoice under Billing, and check every required field is filled in.
Insufficient Server ResourcesThe application needs more RAM than the server has. Upgrade the server from Resources, or use a larger server.
Git clone failsClick Verify Repository Access. Check the deploy key was added to the repository, the token has not expired, or the repository is not private while Public Repo is selected.
Wrong code deployedCheck the Branch to Deploy, for example main versus master.
OJS does not workOJS requires Apache2. Choose APACHE as the web server.
Container starts but cannot be reachedThe Container Port does not match the port the image listens on.
Build failsThe runtime version does not match the project. Check the PHP, Node or Python version it needs.
Cannot choose a Python versionThe server already has a Python application, so the versions are locked to match it.

12. Choosing Well

  • Match the runtime version to the project, not to the latest release.
  • Use one application per site. Sharing one application between sites makes backups, domains and deployments confusing.
  • Pick the database you will actually use. It is created and connected automatically only when the application is created.
  • Use a deploy key rather than a token for private repositories, and verify access before creating.
  • Check the branch. It is the field most often skipped, and the one that causes the most confusing results.

Frequently asked questions

Should I choose NGINX or Apache for my application?

Both work for most applications. Choose Apache if your project relies on .htaccess rules; OJS only works on Apache2.

Why can't I create an application?

You cannot create an application while an invoice is past its due date, so pay it from Billing first and check that every required field is filled in. An Insufficient Server Resources message means the application needs more RAM than the server has.

Can I deploy an application from a private Git repository?

Yes. Choose Deploy from Git Repo, pick GitHub, GitLab or Bitbucket, and enter the repository URL and branch; public and private repositories are supported. Check the branch carefully, because the wrong branch builds without errors but shows the wrong code.

How do I add an application to an existing server?

Go to Servers, select the server, open Applications and click Create Application. Choose the name, web server, application type, versions, database and how to set it up, then click Create Application.

Something here not matching what you see in the panel?

Start your journey today

How do you start with SharkCluster?

Create a SharkCluster account, then create your first server on DigitalOcean, Contabo or OVHcloud. SharkCluster provisions it, installs your stack, and handles the firewall, backups and health alerts from one panel. You can start without a credit card and with no lock-in contract.

No lock-in contractsNo credit card requiredSupport replies within one business day