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.
- 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 4 vCPUs, 8 GB DDR5 RAM, and 200 GB NVMe storage can result in severe performance slowdowns, system freezes, or unexpected crashes during traffic spikes.
- For a stable deployment, we recommend using at least 8 vCPUs, 16 GB DDR5 RAM, and 450 GB NVMe storage. While lower specs might be sufficient for basic installation, consider allocating additional disk space if you plan to store recordings, logs, or other application data.
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:

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

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

- Connect to your VPS via SSH.
Replace
your_server_ipwith your actual server IP address.
Follow the prompts and enter the new root password you created in the step above.ssh root@your_server_ip - 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 - 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.
- 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.
- 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.
- 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.
- Confirm and Verify Your Registration
Rocket.Chat sends a confirmation email to the address you provided, so check your inbox next.
- Open the email and select Verify Registration.

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

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

- Open the email and select Verify Registration.
- Access Your Dashboard
Return to your original setup wizard tab. You'll be signed straight into your new Rocket.Chat administration 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)