Challenges with setting up my url

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=
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 it works.

Hi Cornell! Welcome to our community :slight_smile:

This is probably some misconfiguration in your reverse proxy.

You will need to set it up accordingly, so it knows that need’s to be proxied internally to where your is configured.

We have a comprehensive documentation on how to configure a reverse proxy here:

Let me know if this helps :slight_smile:

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?


either snap or docker will work.

The problem you are facing is related to configuring your LAMP stack to proxy the requests from to your Rocket.Chat installation.