I have a challenge setting up the server on my server. I installed the whole thing via snap and then I wanted to change the domain name.
sudo snap set rocketchat-server siteurl=https://chat.DOMAIN.de
sudo systemctl enable --now snap.rocketchat-server.rocketchat-caddy
sudo snap restart rocketchat-server
But if I now try to reach Rocket Chat via the url, my Nextcloud contacts me and tells me something about an untrusted domain?
Have I set something wrong on the DNS server?
If I call it up via chat.DOMAIN.de:3000 it works.
Hi Cornell! Welcome to our community
This is probably some misconfiguration in your reverse proxy.
You will need to set it up accordingly, so it knows that chat.domain.com need’s to be proxied internally to where your rocket.chat is configured.
We have a comprehensive documentation on how to configure a reverse proxy here:
Let me know if this helps
Thanks for your answer! But which of these methods do I use best? I want to install RocketChat on a server where Nextcloud + Wordpress have been installed via LAMP stack. Does this work?
Hi!
either snap or docker will work.
The problem you are facing is related to configuring your LAMP stack to proxy the requests from chat.domain.com to your Rocket.Chat installation.