Purchase a HostGator Self-Managed VPS with Chatwoot on Ubuntu 24.04 Installation
Chatwoot brings your live chat, email, and social conversations into one inbox. Your team stops juggling separate tools to talk to customers. Agent assignment, canned responses, conversation labels, and built-in reporting complete a support workspace that runs entirely on infrastructure you own.
Key Benefits of Chatwoot
Run your own Chatwoot server, and you get full control: shape the configuration around your needs and keep user data private. Add resources whenever your team or ticket volume grows. Chatwoot is open source, so you tap into an active community-built platform without paying licensing fees. Once secured with your own domain and SSL, your conversations are encrypted end-to-end. Best of all, hosting it yourself means you skip the recurring SaaS bill that comes with many customer engagement platforms.
What You Can Do With Chatwoot
Chatwoot fits how your team already handles support, and it grows with you as your needs change:
- Manage Customer Conversations: Run reliable, secure chat sessions for your team and the people you support.
- Support Tickets and Collaboration: Keep support requests organized and work through them as a team.
- Multi-Channel Integration: Bring Chatwoot into your existing websites, apps, and business tools.
- Manage Users: Set access levels, permissions, and chat preferences across your organization.
- Automate Workflows: Put routine conversations and support steps on autopilot.
- Custom Integrations: Link Chatwoot to your CRM, email platform, and other business systems.
No matter how your team handles support today, Chatwoot gives you the tools to run it more efficiently.
System Requirements
Before deploying, ensure your server meets the following minimum hardware requirements. For a stable production deployment, we recommend using higher specifications than the minimum requirements.
Important:
- Do not purchase a server that only meets the minimum requirements. The minimum specifications represent the software's bare survival threshold and do not account for operating system overhead or production workloads. Running with only 2 CPUs and 4 GB RAM can result in severe performance slowdowns, system freezes, or unexpected crashes during traffic spikes.
- HostGator Self-Managed VPS plans lack dedicated GPUs (VRAM). Running local LLMs entirely on their CPUs will cause extremely slow response times. For optimal performance, host your application on HostGator but connect it to an external AI cloud provider (like OpenAI or Anthropic) via API.
- For a stable deployment, we recommend using at least 4 CPU cores and 8 GB RAM. While the minimum 20 GB SSD is sufficient for installation, consider allocating additional disk space if you plan to store recordings, logs, or other application data.
| Resources | Minimum Requirements | Recommended |
|---|---|---|
| CPU | 2 | 4 |
| Memory (RAM) | 4 GB | 8 GB |
| Disk | 20 GB | 20 GB |
How to Purchase a Self-Managed VPS with Chatwoot on Ubuntu 24.04 Installation
To use Chatwoot on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:

Not sure which VPS setup is right for you? That's exactly what Pre-configured Setup is for. You'll find this option near the top of the HostGator Self-Managed VPS purchase page, and it takes the guesswork out of getting started. Just tell us what you're building—a WordPress Site, an AI Agent/Claude Code project, a Dev/Staging environment, or an eCommerce Store—and we'll automatically select the right plan, operating system, and template to match.
- Great option if you're new to VPS or want a fast, easy setup
- Get the recommended configuration for your project right away
- No need to figure out the technical details yourself
- Full flexibility to adjust settings later on
- Open https://www.hostgator.com/vps-hosting in your browser.
- Pick the plan you want and click Choose Plan.

Important: Pricing is subject to change—please visit https://www.hostgator.com/vps-hosting for the current introductory/sign-up offer for HostGator VPS Hosting. For the most up-to-date renewal pricing, visit your HostGator Customer Portal Renewal Center.
- Pick a Data Center location.

- On the Cart page, you can set up your server the way you want:
- Hardware:
- Pre-selected:
You can change to a different Self-Managed VPS plan here.

- Configure:
Click Configure if you want to build your own custom package.
Note: Any changes you make here will change the total price.

- Pre-selected:
- Software:
If the selected plan does not meet the app's minimum requirements, the app will be grayed out.
- Click the Application tab.
- Choose Chatwoot on Ubuntu 24.04.

- In the pop-up, click Confirm.

- Hardware:
- Support & Security:
You can add Premium Support here for faster help and quicker replies. This is Optional.

- AI Credits:
Add a HostGator AI Credits package to connect your application to top LLM providers through one API key and a single bill. This step is optional.

- In Advanced options, you can set these up if you want:
- Extra IPs: Add more IP addresses for an extra cost. The price changes based on how many you add.
- Hostname: Give your server a custom name. This is optional.
- SSH Key: If you want to log in without a password, add your SSH public key here. This is optional.

- Choose a billing term, check your Order Summary, then click Continue to Checkout.

- Check your HostGator cart. Remove any add-ons you don't want, then click Continue to Checkout again.

- On the Checkout page, do the following:
If you are new to HostGator:
- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.

- Create a password for your account.

- Choose how you want to pay—Credit Card or PayPal—and enter your payment details.

If you already have an account, your HostGator login details will show up once you log in to your Customer Portal. If you are not logged in, click Log In.

- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.
- Review your payment method and order total. If you have a promo code, click Add Promo Code and enter your code. If you need to make changes, click Edit or Add Payment Method. When everything looks correct, click Submit Payment to complete your purchase. By clicking Submit Payment, you agree to the Auto Renewal Terms, Terms of Service, Cancellation Policy, and Privacy Notice.

After checkout, your Self-Managed VPS will begin setting up. Once it’s ready, you can find it under the Hosting tab in your Customer Portal.
Setting Up and Securing Chatwoot on Ubuntu 24.04
Chatwoot is a capable, open-source support platform, but it needs a handful of configuration steps before it's ready for real traffic. This guide walks through that entire process. Work through the steps below to reach the web interface, put a valid SSL certificate in place, and follow good security practices for your support workspace.
Step 1: Set Your Root Password
- Log in to your Customer Portal.
- From the left-hand menu, navigate to Hosting and select My Plans.

- Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

- Click the Reset Password button.

- In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

Step 2: Connect To Your Server via SSH
- Connect to your VPS via SSH.
Open a terminal (or an SSH client like PuTTY) and log in as the administrator using your server's public IP address:Replaceyour_server_ipwith your actual server IP address.
Follow the prompts and enter the new root password you set in the step above.ssh root@your_server_ip - Give the background setup a moment to finish. On first boot, a script automatically generates a fresh SECRET_KEY_BASE for the Rails app and stores it securely. If you ever want to check the rotated Rails secret from your server terminal, print it with:
grep CHATWOOT_SECRET_KEY_BASE /root/.app_passwords
Step 3: Open the Web Panel
Step away from the terminal for a moment and switch over to your web browser.
- Navigate to the panel: Go to http://(replace with your server's actual public IP address).
Example:
[http://12.3.456.789] (http://12.3.456.789) - Create your account: On the first screen, set up your initial user account. Whoever creates the first account automatically becomes Super Admin, with the ability to invite other agents.

- Once your account is created, the page refreshes and asks you to log in with those same credentials.

- You're now in your Dashboard.

Step 4: Connect Your Custom Domain (Recommended)
Out of the box, your Chatwoot instance is only reachable by raw IP address over an unencrypted HTTP connection. For anything running in production, connect a custom domain (like support.yourcompany.com) and lock it down with TLS/SSL.
- DNS Configuration: In your DNS provider's dashboard, create an A Record pointing your chosen domain at your server's public IP.
- Update Environment Variables:
- Log in to your server and update the FRONTEND_URL variable inside this directory.
/home/chatwoot/chatwoot/.envEditing this file requires the nano editor. If it's not installed yet, run:apt update apt install nano -y - Give the install a few minutes to finish, then run:
nano /home/chatwoot/chatwoot/.env
Example Output:
GNU nano 7.2 /home/chatwoot/chatwoot/.env # Learn about the various environment variables at # https://www.chatwoot.com/docs/self-hosted/configuration/environment-variables/#rails-production-variables # Used to verify the integrity of signed cookies. so ensure a secure value is set # SECRET_KEY_BASE should be alphanumeric. Avoid special characters or symbols. # Use `rake secret` to generate this variable SECRET_KEY_BASE=examplet3st7ccc895635546ccf1fff6c6335167d1569ec2c4253e508737c1a78acb4381f773ebaf5fe7c6f491e75541060d4f7f0fe8441db26120edbc9ee4bdc # Active Record Encryption keys (required for MFA/2FA functionality) # Generate these keys by running: rails db:encryption:init # IMPORTANT: Use different keys for each environment (development, staging, production) # ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY= # ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY= # ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT= # Replace with the URL you are planning to use for your app FRONTEND_URL=http://12.3.456.789 # To use a dedicated URL for help center pages # HELPCENTER_URL=http://0.0.0.0:3000 # If the variable is set, all non-authenticated pages would fallback to the default locale. # Whenever a new account is created, the default language will be DEFAULT_LOCALE instead of en # DEFAULT_LOCALE=en # If you plan to use CDN for your assets, set Asset CDN Host ASSET_CDN_HOST= # Force all access to the app over SSL, default is set to false FORCE_SSL=false # This lets you control new sign ups on your chatwoot installation # true : default option, allows sign ups # false : disables all the end points related to sign ups # api_only: disables the UI for signup, but you can create sign ups via the account apis ENABLE_ACCOUNT_SIGNUP=false # Redis config # specify the configs via single URL or individual variables # ref: https://www.iana.org/assignments/uri-schemes/prov/redis # You can also use the following format for the URL: redis://:password@host:port/db_number [ line 1/288 ( 0%), col 1/51 ( 1%), char 0/10563 ( 0%) ] ^G Help ^O Write Out ^W Where Is ^K Cut ^T Execute ^C Location M-U Undo M-A Set Mark M-] To Bracket M-Q Previous ^X Exit ^R Read File ^\ Replace ^U Paste ^J Justify ^/ Go To Line M-E Redo M-6 Copy ^Q Where Was M-W Next - Find FRONTEND_URL and change it to your domain (e.g., https://support.yourdomain.com).
Nano behaves a lot like a standard text editor (think Notepad).
- Move around: Use your keyboard's arrow keys to move the cursor to the line you want to change. Locate FRONTEND_URL and change it to your domain (e.g.,
https://support.yourdomain.com). - Edit: Start typing, or use Backspace/Delete to remove text.
- Save: Press Ctrl+O (the letter O, not zero). When the bottom of the screen asks you to confirm the file name, just press Enter.
- Exit: Press Ctrl+X to close the editor and return to the command line.
- Move around: Use your keyboard's arrow keys to move the cursor to the line you want to change. Locate FRONTEND_URL and change it to your domain (e.g.,
- Log in to your server and update the FRONTEND_URL variable inside this directory.
- Configure Nginx: Update the server_name directive in the Nginx configuration file located at:
/etc/nginx/sites-available/chatwoot- Edit the Nginx configuration:
nano /etc/nginx/sites-available/chatwoot
Example Output:
GNU nano 7.2 /etc/nginx/sites-available/chatwoot upstream chatwoot { server 127.0.0.1:3000; } server { listen 80 default_server; listen [::]:80 default_server; server_name _; client_max_body_size 50M; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; location / { proxy_pass http://chatwoot; } location /cable { proxy_pass http://chatwoot; proxy_read_timeout 600s; proxy_send_timeout 600s; } } ^G Help ^O Write Out ^W Where Is ^K Cut ^T Execute ^C Location M-U Undo M-A Set Mark ^X Exit ^R Read File ^\ Replace ^U Paste ^J Justify ^/ Go To Line M-E Redo M-6 Copy - Update the server_name directive to match your domain, using the same nano steps from above.
- Edit the Nginx configuration:
- Run this command to automatically provision a free Let's Encrypt SSL certificate.
certbot --nginx -d your.domain
- Apply everything by running:
systemctl restart chatwoot.target nginx
Step 5: Day-to-Day Management
The image also comes with tools to keep things running smoothly. UFW is already configured to allow only essential traffic (web and SSH), and daily log rotation keeps old logs from filling up your disk.
Keep these commands on hand for troubleshooting or restarting the system:
- Check health:
systemctl status chatwoot.target
- Reboot the app:
systemctl restart chatwoot.target
- View error logs:
journalctl -u chatwoot-web.1 -n 100 --no-pager
Additional Information and Examples
You can run cat /root/README.md to see more information and useful commands:
Example Output:
root@12-3-456-789:~# cat /root/README.md
# Chatwoot on Ubuntu 24.04
## Description
Chatwoot is an open-source customer support platform that lets you manage
conversations from live chat, email, and social channels in one inbox.
It supports team collaboration with agent assignment, canned responses,
conversation labels, and performance reporting, giving you a complete support
workspace you host and control yourself.
## Image contents
This template installs and configures:
* Chatwoot from the official upstream installer at `https://get.chatwoot.app/`
* PostgreSQL local database service
* Redis (used for Sidekiq queues and ActionCable)
* Nginx reverse proxy fronting Chatwoot on ports 80/443
* Ruby (via rbenv) and Node.js with pnpm
* `chatwoot` system user with source tree at `/home/chatwoot/chatwoot`
* Chatwoot env file at `/home/chatwoot/chatwoot/.env`
* systemd units `chatwoot-web.1.service` and `chatwoot-worker.1.service`,
grouped under `chatwoot.target`
* Daily log rotation for `/home/chatwoot/chatwoot/log/*.log` (14 day retention)
* UFW firewall rules for SSH, HTTP, and HTTPS
* First-boot injection script at `/var/lib/cloud/scripts/per-instance/001_onboot`
* App password store at `/root/.app_passwords`
## Services
Service | Ports | Purpose
----------- | --------- | -----------------------------------------------------------
Nginx | 80, 443 | Reverse proxy fronting Chatwoot
Chatwoot | 3000 | Rails web app (bound locally, fronted by Nginx)
PostgreSQL | local | Database backend for Chatwoot
Redis | local | Sidekiq queue and ActionCable backend
OpenSSH | 22 | Remote access
Ports are protected using UFW.
## First boot behavior
On the first boot, the cloud-init per-instance script
`/var/lib/cloud/scripts/per-instance/001_onboot`:
* generates a fresh `SECRET_KEY_BASE` for the Rails app
* stores it securely in `/root/.app_passwords`
* updates `/home/chatwoot/chatwoot/.env`
* waits for PostgreSQL readiness
* starts Chatwoot and Nginx
This guarantees that no Rails secret is shared between deployed images.
## First-time access (How-to-use)
After the VM boots, access Chatwoot at:
* `http://`
On the first screen, create the first account. The first account you create
becomes the Super Admin and can invite agents from the dashboard.
To serve Chatwoot on your own domain with TLS:
1. Point your DNS A record at the server IP.
2. Update the `FRONTEND_URL` in `/home/chatwoot/chatwoot/.env`.
3. Update `server_name` in `/etc/nginx/sites-available/chatwoot`.
4. Run `certbot --nginx -d your.domain` to issue a Let's Encrypt certificate.
5. Restart with `systemctl restart chatwoot.target nginx`.
## Useful commands
* Check Chatwoot status:
`systemctl status chatwoot.target`
* Restart Chatwoot:
`systemctl restart chatwoot.target`
* View web logs:
`journalctl -u chatwoot-web.1 -n 100 --no-pager`
* View worker logs:
`journalctl -u chatwoot-worker.1 -n 100 --no-pager`
* View Rails production log:
`journalctl -u chatwoot-web.1.service -n 100 --no-pager`
* Show the rotated Rails secret:
`grep CHATWOOT_SECRET_KEY_BASE /root/.app_passwords`
## Validation tests
The template includes a validation script at `/root/app_test/main.t` that checks:
* `postgresql`, `redis-server`, `nginx`, and `chatwoot.target` are enabled
* `/home/chatwoot/chatwoot` source tree exists
* `/home/chatwoot/chatwoot/.env` exists
* first-boot script exists and is executable
* `chatwoot-web.1` is active
## Minimum Resources
Resource | Minimum
---------|---------
Ram | 4G
Disk | 20G
CPU | 2
## Links
* Manage: [http://{server_ip}](http://{server_ip})
* Chatwoot documentation: [https://www.chatwoot.com/docs](https://www.chatwoot.com/docs)
* Community forum: [https://github.com/chatwoot/chatwoot/discussions](https://github.com/chatwoot/chatwoot/discussions)