Question

how to setup rocketchat to work via http/https

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

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