I have two different domains, one that runs rocket.chat and another personal.
Both domains are pointing to the same host / server IP.
The issue is that I run rocket.chat with Snap and I’ve manually added the second domain .conf on /var/www
When I restart Apache, I can connect on the browser to the second domain (ONLY listen on :80) but the domain that runs Rocket.Chat server refuses to connect
(that’s actually what Chrome says).
// just a confirmation of caddy running
root@bo:~/snap# sudo systemctl restart snap.rocketchat-server.rocketchat-caddy.service
root@bo:~/snap# ps aux | grep caddy
root 25662 0.0 0.0 14428 1104 pts/1 S+ 03:51 0:00 grep --color=auto caddy
root@bo:~# ps aux | grep rocket
root 4042 0.0 0.0 4504 788 ? Ss Jul06 0:00 /bin/sh /snap/rocketchat-server/1433/bin/startmongo
root 4133 0.6 1.7 1505708 108756 ? Sl Jul06 32:07 mongod --bind_ip 127.0.0.1 --pidfilepath /var/snap/rocketchat-server/common/mongod.pid --smallfiles --journal --dbpath=/var/snap/rocketchat-server/common --replSet rs0
root 26699 0.1 0.0 18124 2888 ? Ss 04:25 0:00 /bin/bash /snap/rocketchat-server/1433/bin/startRocketChat
root 26808 85.4 10.6 2663744 650492 ? Sl 04:25 0:39 node /snap/rocketchat-server/1433/main.js
root 27110 0.0 0.0 14428 1108 pts/3 S+ 04:26 0:00 grep --color=auto rocket
I can see some mongo/node being used, I assume there’s some conflict here? Any help? Really stuck on this.