Avatar

Solvena

Solvena@lemmy.world
Joined
10 posts • 14 comments
Direct message

This makes it clearer to my, would you mind helping me to understand all steps for my usecase. I want to run a lemmy instance and a mastodon instance on the same VPS, using the same domain but different subdomains - lmy.my-domain.tld and mstdn.my-domain.tld. I have my VPS IP address and setup the 2 subdomains with my domain provider (both subdomains are resolving the same IP).

I also did setup nginx on my server and can install SSL certificates for both of these domains. I’m now at the step where lmy.my-domain.tld should by directed to the lemmy service and mstdn.my-domain.tld to the mastodon service. As I understand it, both services listen to the ports 80 (http) and 443 (https). Do I now setup a room/building for Lemmy / Mastodon respectively where I tell nginx that lmy.my-domain.tld is at 0.0.0.0:3001 and mstdn.my-domain.tld is at 0.0.0.0:3002 for example. And in the config files for each of these installs I’d specify “0.0.0.0:300x” respectivly? (also have to make sure, that these docker installs don’t mess with my nginx config by themselves, right?)

permalink
report
parent
reply

that seems to have been part of the problem, as I indeed had nginx running on the host as well. Now I get the error code “website cannot be reached” when I try to go to my instance in the browser.

I tried to follow the configuration for nginx as was in the template file on github, but I most probably have an error there. One thing confuses me, that’s the ports for lemmy and the lemmy UI. I think they should be 8536 an 1235 respectively, but sometimes it says 1234 and 1236 for the UI port as well. Also in the template I’m using (https://github.com/LemmyNet/lemmy-ansible/blob/main/templates/nginx.conf#L63) there is only one section to enter ports: proxy_pass http://0.0.0.0:{{lemmy_port}}; - which port do I enter here?

if you happen to know, please let me know :)

permalink
report
parent
reply

I just checked out YUNoHost, which sounds like an excellent stepping stone, thanks for the recommendation! I’ll go with a VPS, so ISP shouldn’t be a concern. I think, I’ll just try it out - at worst I’ll lose a couple of hours of my time ;)

permalink
report
parent
reply

It’s the prime reason, I didn’t get D4 yet. I don’t trust the “it’s all only cosmetic” spin, they are drumming up. Battle Passes exist to make money, they don’t exist to make gamers happy. So, I’ll wait and see until we exactly know what’s in the battle pass, and how obnoxious they advertise it and what kind of nudges there are in place to fork over money. If it turns out to be something that indeed can be ignored, I will probably jump into D4. If the battle pass cannot be ignored, I’ll stay away.

permalink
report
reply