- Published on
Coolify Tutorial: How to Host Apps for 80% Less in 2026
Coolify is an open-source, self-hosted platform that allows you to deploy applications, databases, and services on your own servers with one click. By using Coolify, you can reduce hosting costs by up to 80% compared to managed services like Heroku or Vercel while maintaining a similar "push-to-deploy" experience. Most beginners can set up their first production-ready server in under 15 minutes using a simple terminal command.
What is Coolify and how does it save money?
Coolify is often called an "Open Source Heroku Alternative" or a PaaS (Platform as a Service - a category of cloud computing services that provides a platform allowing customers to develop, run, and manage applications). Instead of paying per application or per user, you pay a flat monthly fee for a VPS (Virtual Private Server - a private partition on a physical server that acts like its own machine).
On a standard 20+ for a single database, which makes self-hosting with Coolify a massive budget win. It handles the difficult parts of server management, such as SSL certificates (the technology that keeps an internet connection secure and safeguards sensitive data) and reverse proxies (a server that sits in front of web servers and forwards client requests to those web servers).
What do you need to get started?
Before installing Coolify, you need a few basic components ready to go. We recommend using a fresh server to avoid conflicts with existing software.
- A VPS Provider: Options like Hetzner, DigitalOcean, or Linode are popular choices.
- Operating System: Ubuntu 26.04 LTS is the current standard for stability and compatibility in 2026.
- Minimum Specs: At least 2GB of RAM and 1 vCPU (though 4GB of RAM is better for smooth performance).
- A Domain Name: You will need this to access your dashboard and apps via a browser.
- SSH Access: A way to log into your server's command line from your computer.
How do you install Coolify on your server?
Once you have your VPS running Ubuntu 26.04, the installation process is straightforward. You will use a single command to download and run the installation script.
Step 1: Connect to your server. Open your terminal and type the following command, replacing the placeholder with your actual server IP address:
ssh root@your_server_ip
# This logs you into your server as the administrator
Step 2: Run the installation script. Copy and paste this command into your terminal:
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
# This downloads the setup file and starts the automated installation
Step 3: Wait for completion.
The script will install Docker (a tool that wraps software in "containers" so it runs the same on any machine) and the Coolify core files. Once finished, the terminal will display a URL, usually http://your_server_ip:8000.
Step 4: Create your admin account. Navigate to that URL in your web browser. You will be prompted to create an email and password for your local dashboard.
How do you connect a domain name?
To move away from using IP addresses, you need to point a domain to your server. This makes your apps professional and allows Coolify to generate free security certificates.
First, log into your domain registrar (the company where you bought your domain). Create an "A Record" (a DNS record that points a domain to an IP address) that points to your VPS IP. For example, point coolify.yourdomain.com to 123.456.78.90.
In the Coolify settings under "Server," enter your domain name in the FQDN (Fully Qualified Domain Name) field. Coolify will automatically talk to Let's Encrypt (a non-profit certificate authority) to set up HTTPS. This ensures your connection is encrypted without you having to touch a single configuration file.
How do you deploy your first application?
Coolify makes it easy to pull code directly from GitHub or GitLab. You don't need to be a DevOps expert to get a modern web app online.
Step 1: Connect your Git source. In the Coolify dashboard, go to "Sources" and click "Add New." Follow the prompts to authorize Coolify to access your GitHub repositories.
Step 2: Create a new Project. Think of a "Project" as a folder that holds your app and its database. Click "Projects" > "Add New" and give it a name like "My First Web App."
Step 3: Select your repository.
Choose your repository and the branch you want to deploy (usually main). Coolify will automatically detect if you are using Next.js 16, React 19, or Python 3.14.
Step 4: Configure and Deploy. Coolify will ask for any "Environment Variables" (private keys or settings your app needs to run). Once those are added, click "Deploy." You can watch the build logs in real-time as your app goes live.
What are the common mistakes for beginners?
It is normal to run into a few bumps when you are learning to manage your own server. Most issues come down to simple configuration errors.
- Forgetting to open ports: If your dashboard doesn't load, check your VPS provider's firewall. You must ensure ports 80, 443, and 8000 are open to public traffic.
- Running out of RAM: If your server feels slow, it might be swapping memory to the disk. We've found that enabling a "Swap File" (a portion of the hard drive used as temporary RAM) can prevent the server from crashing during heavy builds.
- Incorrect DNS propagation: After changing your domain settings, it can take anywhere from 5 minutes to 24 hours for the internet to recognize the change. Don't worry if your domain doesn't work immediately; just give it some time.
Why is Coolify better for your budget?
Traditional hosting providers charge "convenience tax" for every feature they offer. They might charge extra for automatic backups, team members, or specialized databases. Coolify gives you all these features for free because you are providing the underlying hardware.
You can even use Coolify to host private AI instances. For example, you can deploy a self-hosted instance of an LLM (Large Language Model) to process data locally. This avoids the per-token costs associated with using external APIs like GPT-5 or Claude 4.5.
Next Steps
Now that your server is running, you can start exploring the "Service Templates" library inside Coolify. This allows you to install complex tools like WordPress, Plausible Analytics, or Ghost with a single click.
Try deploying a simple static site first to get comfortable with the workflow. Once you see how easy the "push-to-deploy" cycle is, you can start migrating your more expensive projects over.
For more information and detailed guides, visit the official Coolify documentation.