Deploy to bluehost server
In this article, I’ll walk you through how to easily deploy your site hosted with bluehost.
Deploying with Launchdeck
Launchdeck is an automated code deployment tool that allows you to easily deploy code to your servers. You can write configuration files, define custom commands and deploy automatically whenever you push.
Our basic plan is free - including all our features and allows you to deploy 1 project unlimited times a day!
Before you get started
When you first start using Launchdeck to deploy code to your server hosted with bluehost, it’s important that you’re already using Git, and have set up SFTP on bluehost. You can follow bluehost's guide to do so.
Create a project
Let’s get started by creating a new project and linking your Git account. You can easily connect a Github or Bitbucket account and choose from the list of repositories available within the account. Or if you're using a different Git provider, like Gitlab or a self-hosted server, you can choose the Private/Hosted Git server option.
Setting up bluehost server
Now let’s tell Launchdeck where to upload the files.
Pick ‘SFTP’ as the server type and give it an easily recognizable name.
Enter your server’s hostname, and optionally the SFTP port if you wish to use a different port (the default ‘22’ is standard for the SFTP protocol).
Enter your username and password for the SFTP user.
Enter the upload path to which your files should be uploaded. This is the absolute path on the remote server.
To figure out whether the server connection data is correct, run the server connection test and we’ll try to connect to your server and check the provided path(s).
Deploy for the first time
You’re now ready to start your first deployment. Click ‘create new project’ to confirm the settings and add the project. In the project overview, you can now start the build. The code will be cloned from your repository and prepared for you to publish it. Hit ‘Publish’ and your code is live!
If you then commit changes to your repository, the commit will automatically appear in your project overview where you’ll be able to upload and publish your new version with the push of a button. If anything goes wrong, you can simply roll back to the latest working version.
That’s all! By using Launchdeck to deploy to your bluehost server, you’ll never have to upload a new version manually. Just hit “publish”, and Launchdeck will deploy your site or app within seconds.
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
- Deploy WordPress theme using git, this guide will walk you through deploying a WordPress theme directly to your server.
- How to deploy a Laravel application, this guide will walk you through deploying a Laravel application to your server