All Blog Articles

Deploy Payload on Coolify | How to Host Payload Projects

Media
Sandro WegmannMay 19, 2025
Deploy your Payload CMS projects on your own infrastructure with Coolify – the open-source hosting alternative that puts you in control.

Welcome to an informative guide on deploying your Payload project using Coolify. If you’re a developer looking to host your applications effectively, you’ve probably heard about platforms like Vercel and Railway. However, today we're diving into an open-source alternative that allows you to manage your own server while maintaining the developer experience you're accustomed to. This article will walk you through setting up Coolify, deploying your Payload projects, and why this option may be the best fit for you.

This article provides a comprehensive written step-by-step tutorial for deploying Payload on Coolify. For visual learners or those who prefer following along with video instruction, you can watch our detailed video guide on YouTube at https://www.youtube.com/watch?v=Mvg624g_5zY. The video covers the same content but offers additional context and real-time demonstrations of each step in the process, making it easier to follow along as you set up your own self-hosted Payload deployment.


Table of Contents

What is Coolify?

Coolify is an open-source project designed to deliver a seamless developer experience akin to what you’d find on platforms like Vercel or Railway, but hosted on your own server. This allows for a project dashboard where you can manage multiple projects efficiently. With Coolify, you can:

  • Add notifications to stay updated via email or Telegram if a deployment fails.
  • Utilize webhooks for automated actions.
  • Automatically deploy from your GitHub repository, enabling a streamlined workflow.
  • Deploy various templates, including databases like MongoDB and MySQL.
  • Generate automatic preview domains for your projects, similar to project-name.vercel.app.
coolify-dashboard-features-overview.jpg


Why Choose Coolify?

Before we dive into the technical setup, let’s discuss some compelling reasons to consider hosting on Coolify:

1. Open Source

Being open-source means you have complete control over your server and data. This is particularly beneficial for GDPR compliance, especially in regions with strict data protection laws like Germany.

2. Cost-Effective

Coolify can be significantly cheaper than platforms like Vercel or Railway, particularly for high workloads. These platforms often resell server resources at inflated prices, making Coolify a more budget-friendly option for teams.

3. Role-Based Access Control

Coolify offers superior role-based access control compared to its competitors. For instance, in Vercel, you can only grant specific project access on enterprise plans. With Coolify, you can customize access for team members without needing an enterprise account.


Setting Up Your VPS

To get started, the first step is to set up your Virtual Private Server (VPS). While I’ll be using Hetzner for this demonstration, you can choose any VPS provider like AWS, Linode, or DigitalOcean.

Step 1: Create a New VPS Project

Log into your VPS provider and create a new project. For instance, let’s name it "All About Payload Coolify." Choose the server location closest to you—Nuremberg is a solid choice for me.

Step 2: Choose Your Server Specifications

Next, select the server specifications. I recommend starting with Ubuntu and opting for a shared virtual CPU. If you’re running smaller side projects, a basic plan should suffice. However, for more demanding workloads, consider a plan that offers more resources.

Step 3: Spin Up Your Server

Once you’ve configured your settings, proceed to create and buy your server. You’ll receive an email containing your server's IP address and root access credentials shortly after.


Installing Coolify

Once your server is up and running, the next step is to install Coolify. This process is straightforward:

Step 1: SSH Into Your Server

Open your terminal and SSH into your server using the command:

ssh root@your_ip_address

After logging in, you’ll be prompted to change your initial password.

Step 2: Install Coolify

Visit Coolify.io and navigate to the self-hosted section. Copy the installation command provided and paste it into your terminal. This command will install all necessary components for Coolify and start the server.

coolify-terminal-installation-command.jpg

Step 3: Access the Coolify Admin Panel

After installation, you can access your Coolify admin panel using the IP address and port 8000. The initial communication will not be secure (HTTP), so it’s advisable to create a first account, switch to SSL, and then create a secure account.

Configuring Your Domain and SSL

To enhance security and usability, the next step involves configuring your domain and SSL certificates.

Step 1: Set Up DNS Records

Navigate to your DNS settings and create an A record for your domain, pointing it to your server’s IP address. Additionally, set up a wildcard DNS entry for all subdomains.

dns-setup-coolify-domain-configuration.jpg

Step 2: Configure Instance Domain in Coolify

In the Coolify dashboard, go to settings and enter your domain (e.g., https://coolify.allaboutpayload.com). Save your settings, and wait a few minutes for the SSL certificate to generate.


Deploying Your First Project

Now that Coolify is set up, let’s deploy our first project.

Step 1: Create a New Project

Go to the projects section in Coolify and click on "Add." Name your project (e.g., "My Fast Block") and select the GitHub repository you wish to deploy.

Step 2: Select Environment and Resources

You can choose multiple environments like production or staging. For production, create a new resource and select the type of repository (public or private). If using a private repository, connect your GitHub account by adding a GitHub app.

Step 3: Deploy Your Project

After configuring the necessary settings, click on "Deploy." Coolify will perform health checks to ensure your application is running successfully. If the checks pass, your application will be live!


FAQs

What is Payload?

Payload is a headless CMS built with modern technologies like Next.js, allowing developers to create and manage content-rich applications with ease.

Why should I use Coolify over other platforms?

Coolify offers a self-hosted solution that gives you more control over your data and costs. It also provides better role-based access control and flexibility for various workloads.

Is it difficult to set up Coolify?

No, setting up Coolify is straightforward, especially if you follow the steps outlined in this guide. The installation process is quick, and the dashboard is user-friendly.

Can I deploy multiple projects on Coolify?

Yes, Coolify allows you to manage multiple projects from a single dashboard, making it easy to deploy and maintain various applications.

Conclusion

In this guide, we explored the process of deploying your Payload project on Coolify. This open-source platform not only provides a robust infrastructure for hosting but also offers flexibility and cost-effectiveness that traditional platforms may not. If you’re looking for a self-hosted solution that simplifies deployment while keeping your data secure, Coolify is an excellent choice.

For any questions, feedback, or suggestions for future topics, feel free to leave a comment below. Happy coding, and see you in the next article!