Question

how to setup rocketchat to work via http/https

Posted October 6, 2019 1.3k views
NetworkingDNSApplications

I’ve tried installing rocketchat through a one click install, i couldnt figure that out so i just did the following (im a windows guy so pardon my ignorance of linux)

made ubuntu 18.04 droplet
set my nameservers to digitalocean, waited a while
set all my A/TXT Record i needed (making sure that chat points to the new droplet)
installed rocketchat-server via snap
snap set rocketchat-server caddy-url=https://chat.mydomain.xyz
enabled caddy
enabled https
rocketchat-server.initcaddy
made sure 80,443 were open via iptables/ufw
restarted services
waited a few mins
checked ip:3000 it works
checked chat.mydomain.xyz nothing
checked http://chat.mydomain.xyz nothing
checked chat.mydomain.xyz:3000 nothing

another note this did the same thing when i tried it from my home server and using my registrars “Advanced DNS” so its something im missing.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

I would recommend adding Nginx as a reverse proxy, that way you would be able to install an SSL certificate for your domain name and serve the content via https. You can follow the steps here on how to do that:

https://www.digitalocean.com/community/tutorials/how-to-install-configure-and-deploy-rocket-chat-on-ubuntu-14-04#step-3-%E2%80%94-setting-up-a-reverse-proxy-with-nginx

On a side note, once you make a DNS change it can take between 1 and 72 hours for the DNS cache to clear over the Globe before you could see your new DNS records.

Regards,
Bobby

by Kellan
Rocket.Chat is an open source messaging app built with Meteor. It supports video conferencing, file sharing, voice messages, has a fully-featured API, and more. Rocket.Chat is great for those who prefer to have full control over their communications. In this tutorial, we will be installing and configuring Rocket.Chat on a fresh Ubuntu Droplet as well as setting up a reverse proxy via Nginx to boost security and make accessing Rocket.Chat much easier.
Submit an Answer