Deploy to Hosting.com (formerly A2 Hosting)

Last Updated: 31st August 2026

In this guide, you'll learn how to deploy applications to Hosting.com from a Git repository using Launchdeck.

Whether you're deploying a Laravel application, Node.js application, or another Git-based application, Launchdeck automates deployments from your Git repository to your Hosting.com server.

Prerequisites

Before you begin, you'll need a Git repository (for example, on GitHub or Bitbucket), a Hosting.com account and Hosting.com SFTP credentials from cPanel.

Hosting.com supports deployments over FTP, SFTP, FTPS and SSH depending on your hosting plan. This guide focuses on SFTP because it is the simplest option for deploying files with Launchdeck. FTPS is not currently supported by Launchdeck.

To deploy over SFTP, you'll need the following credentials:

  • Hostname
  • Username
  • Password

Your SFTP credentials are managed through your Hosting.com account. The Hosting.com documentation explains how to obtain or create SFTP credentials for your hosting plan and confirm the correct port.

New to Launchdeck? Start your free trial and follow the steps below to deploy your project to Hosting.com. Start free trial →

Step 1: Create a new project

Go to the Launchdeck Home Page and Click Add your first project to get started.

Home Page - Add A New Project

From here you’ll be prompted to pick Project Name and choose your repository provider. If you're using a different Git provider such as GitLab, Codebase or a self-hosted server, you can choose the Private/Hosted Git server option.

If you haven’t configured a provider yet, selecting a provider takes you to a login screen where you can authorise Launchdeck to access your repositories.

Wizard Step 1 - Enter Project Name and Connect Repository

Once your repository is connected, you can select a repository and a branch you'll deploy from.

If your application requires build commands, Launchdeck will infer them based on your repository's framework (although you can edit these commands later).

Once done, you can click Next.

Step 2: Add server to project

On this page, you'll need to enter the server credentials you collected above (Hostname, Username, Password), as well as the server's environment name (e.g. production), and set the protocol to SFTP. The port is commonly 22, although some Hosting.com servers use a different port (for example, 7822).

Wizard Step 2.1 - Enter Environment Name, Protocol and Connection Details

Then enter the Upload Path on the Hosting.com server where your code will be stored.

Upload Path

Enter the directory where your website files should be deployed. For many Hosting.com websites, this will be a directory similar to /home/username/public_html.

To verify the Connection Details are correct, run the server connection test.

Wizard Step 2.2 - Verify Your Server Connection

If you want Launchdeck to automatically build and deploy new commits when you push to your selected branch, enable Auto-deploy to this server. You can also leave this disabled and trigger builds and deployments manually from the Project Overview page.

Then click Next.

Step 3: Build and deploy to Hosting.com

From there, you can review basic details and click Create New Project to complete setup.

Wizard Step 3

This will redirect you to the Project Overview page. With auto-deploy enabled, when Launchdeck detects new commits on your selected branch, the latest commit will automatically be built and deployed to your server.

You can also deploy manually at any time. Click Build on a specific commit to run your configured build commands and transfer the resulting code to your server. Once the build is successful, click Publish to switch to the new release.

Publish Your Project

Learn more

Launchdeck has a variety of useful features to help you deploy your site:

  • Automating tasks such as installing dependencies, transpiling code and running tests using build commands
  • Running SSH commands on your server
  • Keep sensitive information such as database credentials files safely excluded from your repository using configuration files.
Guides

What Customers Say

“Outstanding customer service.”
- Markus M, Business Owner
“It has really been making deployment of our software to several different staging environments a lot smoother.”
- Arjan S, SaaS Company CTO
“I just wanted to say, great job. I spent like a week to find a service like this.”
- Pasha K, Lead Frontend Engineer
A better way to deploy code
Try Launchdeck free

No credit card required