how to setup rocketchat to work via http/https

Posted October 6, 2019 6.4k views

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=
enabled caddy
enabled https
made sure 80,443 were open via iptables/ufw
restarted services
waited a few mins
checked ip:3000 it works
checked nothing
checked nothing
checked 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.

Submit an Answer
1 answer


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:

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.


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.