Loading...

Knowledge Base

Purchase a HostGator Self-Managed VPS with Rocket.Chat Installation

Rocket.Chat gives your team a self-hosted alternative to commercial chat tools: real-time messaging, voice and video calls, and file sharing, all running on infrastructure you manage. It also connects with outside apps, so distributed teams and communities can coordinate their work without routing conversations through a third party.

Key Benefits of Rocket.Chat

Solid communication keeps teams organized and productive, and Rocket.Chat gives you a single workspace to collaborate, share updates, and talk in real time instead of juggling scattered tools. Because it's self-hosted, you stay in control of your data, security settings, user access, and integrations rather than handing that control to a third party. Running it on a Self-Managed VPS also lets you tune the server environment to your own performance needs.

What You Can Do With Rocket.Chat

Rocket.Chat adapts to a wide range of communication and collaboration needs, including:

  • Team Collaboration: Set up channels for departments, projects, or ongoing team discussions.
  • Customer Support: Handle customer conversations and live chat support from a single platform.
  • Remote Team Communication: Keep distributed employees connected through messaging, calls, and file sharing.
  • Private Messaging: Keep tighter control over company data and internal conversations.
  • Community Management: Run private or public communities with organized discussion channels.
  • File Sharing: Share documents, images, and project resources securely with your team.

Whatever mix of these you need, Rocket.Chat brings it all together on infrastructure you fully control.

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.

Hardware Specifications

Resource Minimum Requirements Recommended
CPU 4 vCPUs 8 vCPUs
RAM 8 GB DDR5 16 GB DDR5
Storage 200 GB NVMe 450 GB NVMe

Software Components

  • MongoDB: Version 8.0 or later is required for Rocket.Chat 8.2 and newer. It must be installed and maintained separately if you are not using the official Docker or Helm deployments.
  • Node.js: Version 22.16.0 is bundled with the official Docker image and Helm chart. For manual installations, you must match this version.
  • Deno: Version 2.3.1 is required and used by the Apps-Engine runtime. Also bundled with official Docker and Helm deployments; otherwise, must be matched manually.

Network Ports Requirements

Port Protocol Purpose
443 TCP Primary entry point for HTTPS traffic (web, desktop, mobile clients)
80 TCP Initial HTTP connection, redirects to 443 for secure access

Ensure these ports are open and properly routed in your server environment for Rocket.Chat to be accessible.

How to Purchase a Self-Managed VPS with Rocket.Chat Installation

To use Rocket.Chat on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:

Pre-configured Setup

Self-Managed VPS - Pre-configured Setup
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
Try Pre-configured Setup and have your HostGator Self-Managed VPS ready to go in minutes!
  1. Open https://www.hostgator.com/vps-hosting in your browser.
  2. Pick the plan you want and click Choose Plan.

    Self-Managed VPS - Choose Plan
     

  3. Pick a Data Center location.

    Self-Managed VPS - Data Center Locations
     

  4. On the Cart page, you can set up your server the way you want:
    1. Hardware:
      1. Pre-selected:

        You can change to a different Self-Managed VPS plan here.

        Self-Managed VPS - Pre-selected Hardware
         

      2. Configure:

        Click Configure if you want to build your own custom package.

        Self-Managed VPS - Configure
         

    2. Software:
      1. Click the Application tab.
      2. Choose Rocket.Chat.

        Self-Managed VPS - Rocket.Chat Software
         

      3. In the pop-up, click Confirm.

        Self-Managed VPS - Rocket.Chat -Confirm
         

  5. Support & Security:

    You can add Premium Support here for faster help and quicker replies.This is Optional.

    Self-Managed VPS - Premium Support
     

  6. 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.

    Self-Managed VPS - AI Credits
     

  7. 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.

      Self-Managed VPS - Advanced Options
       

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

    Self-Managed VPS -Initial- Order Summary
     

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

    Self-Managed VPS - Continue to Checkout
     

  10. On the Checkout page, do the following:

    If you are new to HostGator:

    1. Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.

      Self-Managed VPS - Billing Information
       

    2. Create a password for your account.

      Self-Managed VPS - Account Password
       

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

      Self-Managed VPS - Payment Method Options
       

    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.

    Self-Managed VPS - HostGator Login
     

  11. 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.

    Self-Managed VPS - Submit Payment
     

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.

Connecting to Your New Rocket.Chat Server

Your Rocket.Chat server is already provisioned and ready to configure. Here's what to know before you log in, along with the steps to reach your setup wizard for the first time.

  1. Log in to your Customer Portal.
  2. From the left-hand menu, navigate to Hosting and select My Plans.

    Customer Portal - Hosting tab - View Details
     

  3. 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.

    Customer Portal - Hosting tab - View Details
     

  4. Click the Reset Password button.

    Customer Portal - Hosting tab - View Details - Reset Password
     

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

    Customer Portal - Hosting tab - View Details - Reset Password
     

  1. Connect to your VPS via SSH.
    ssh root@your_server_ip
    Follow the prompts and enter the new root password you created in the step above.
  2. Now that you are connected to the server, run the following command to view your pre-configured site URL:
    cat /root/.app_passwords

    Example result:

    root@server-123456:~# cat /root/.app_passwords
    SITE_URL=https://12.3.4.567
  3. Copy the site URL displayed on your screen and paste it into your preferred web browser. This will automatically route you to the Rocket.Chat landing page to begin your configuration.

Setting Up Your Rocket.Chat Workspace

With your setup wizard open in the browser, follow these steps to create your admin account and get your workspace ready to use.

  1. Create Your Admin Account
    Start by setting up your primary administrator profile: add your name, pick a username, and choose a strong password. This account holds full control over your chat platform.

    Self-Managed VPS - Rocket.Chat Admin Info
     

  2. Enter Your Organization Details
    Next, share a few details about your team, your organization type, company name, and expected team size, so Rocket.Chat can tailor your setup accordingly.

    Self-Managed VPS - Rocket.Chat Organization Info
     

  3. Register Your Workspace
    Registering your server unlocks features such as mobile push notifications and the app marketplace. Enter your preferred admin email address to link your workspace to the Rocket.Chat network.

    Self-Managed VPS - Rocket.Chat Register Your Workspace
     

  4. Confirm and Verify Your Registration
    Rocket.Chat sends a confirmation email to the address you provided, so check your inbox next.

    Self-Managed VPS - Rocket.Chat Email Verification
     

    1. Open the email and select Verify Registration.

      Self-Managed VPS - Rocket.Chat Email Verify Button
       

    2. A browser tab opens confirming your account has been verified.

      Self-Managed VPS - Rocket.Chat Email Confirmed
       

    3. A second email follows confirming you're on the Rocket.Chat Starter Plan.

      Self-Managed VPS - Rocket.Chat Second Email Confirmation
       

  5. Access Your Dashboard
    Return to your original setup wizard tab. You'll be signed straight into your new Rocket.Chat administration dashboard.

    Self-Managed VPS - Rocket.Chat Dashboard
     

Additional Information and Examples

You can run cat /root/README.md to see more information and useful commands:

Example Output:

root@server-123456:~# cat /root/README.md
# Rocket.Chat

## Description

Rocket.Chat is an open-source team messaging platform that lets you create secure, real-time communication channels for your organization or community.
It supports channels, direct messages, video calls, file sharing, and integrations with third-party apps, giving teams a fully self-hosted way to stay connected and collaborate efficiently.

---

## Image contents

This image installs and configures:
- Rocket.Chat 8.3.2 running via Docker
- MongoDB 8.0 running via Docker with replica set rs01
- Docker and Docker Compose for container management
- Nginx as a reverse proxy with HTTP and HTTPS support
- UFW firewall with ports 22, 80, and 443 open
- Log rotation at /etc/logrotate.d/rocketchat
- This README at /root/README.md

---

## Services

| Service     | Ports   | Purpose                                        |
|-------------|---------|------------------------------------------------|
| Rocket.Chat | 3000    | Rocket.Chat application (internal only)        |
| Nginx       | 80, 443 | TLS termination and reverse proxy to port 3000 |
| MongoDB     | 27017   | Database backend (container only)              |
| OpenSSH     | 22      | Remote access                                  |

Ports are protected using UFW. MongoDB port 27017 is not exposed externally.

---

## How-to-use

### 1. Access Rocket.Chat

Once the server has booted, open your browser and navigate to:

```
https://
```

Accept the self-signed certificate warning on first access, then complete
the setup wizard to create your admin account.

### 2. Get your credentials

The site URL is stored in /root/.app_passwords:

```bash
cat /root/.app_passwords
```

### 3. SSL / HTTPS certificate behavior

On first boot, a TLS certificate is automatically provisioned:

- A Let's Encrypt certificate is requested for the server's public IP.
- If Let's Encrypt is unavailable, a self-signed certificate valid for
  365 days is generated automatically as a fallback.

Nginx terminates TLS on port 443 and proxies traffic to Rocket.Chat on
port 3000. The X-Forwarded-Proto: https header signals HTTPS to Rocket.Chat.

To manually request a Let's Encrypt certificate after deployment:

```bash
/opt/certbot/bin/certbot certonly --webroot --webroot-path /var/www/html \
  -m [email protected] --agree-tos --non-interactive --ip-address 

nginx -t && systemctl reload nginx
```

### 4. Useful commands

```bash
docker ps                              # Check container status
docker logs rocketchat --tail 50       # Recent Rocket.Chat logs
docker logs mongo --tail 20            # Recent MongoDB logs
docker compose -f /opt/rocketchat/docker-compose.yml restart   # Restart all
systemctl status nginx                 # Nginx status
systemctl status ssh                   # SSH status
```

### 5. MongoDB

```bash
docker exec mongo mongosh                             # Open MongoDB shell
docker exec mongo mongosh --eval "rs.status()"        # Check replica set health
```

---

## Minimum Resources

| Resource | Minimum |
|----------|---------|
| CPU      | 2 vCPUs |
| RAM      | 6 GB    |
| Disk     | 20 GB   |

---

## Security hardening

| Hardening    | Detail                                             |
|--------------|----------------------------------------------------|
| UFW firewall | Only ports 22, 80, 443 open. Default deny incoming |
| SSH          | Port 22 rate limited - brute force protection      |
| MongoDB      | Not exposed externally - container only            |
| Credentials  | Stored in /root/.app_passwords (mode 0600)         |

---

## Configuration files reference

| File                                           | Purpose                         |
|------------------------------------------------|---------------------------------|
| /opt/rocketchat/docker-compose.yml             | Docker Compose configuration    |
| /etc/systemd/system/rocketchat.service         | Rocket.Chat systemd service     |
| /etc/nginx/sites-available/rocketchat          | Nginx site config               |
| /var/lib/cloud/scripts/per-instance/001_onboot | First-boot configuration script |
| /root/.app_passwords                           | Site URL (generated at boot)    |
| /etc/logrotate.d/rocketchat                    | Log rotation config             |

---

## Links

- Manage: [https://{server_ip}](https://{server_ip})
- Documentation: [https://docs.rocket.chat](https://docs.rocket.chat)
- Ubuntu deployment guide: [https://docs.rocket.chat/docs/deploy-with-ubuntu](https://docs.rocket.chat/docs/deploy-with-ubuntu)
- Rocket.Chat releases: [https://github.com/RocketChat/Rocket.Chat/releases](https://github.com/RocketChat/Rocket.Chat/releases)

Loading...