this post was submitted on 06 Jun 2023
19 points (100.0% liked)
Technology
37712 readers
187 users here now
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thanks for the three replies so far; BTW, Lemmy is beating out /r/eddit on this thread!!! :P
Yea, I know that I'm needing a reverse proxy - it was just how to implement one since the two sites aren't using the same host software; apache2 and nginx... so I think I should run a 3rd VM and route the traffic out to the other 2 local IPs; OR condense the two sites into one VM - which I don't really want to do...
Or, maybe I pick a [free, paid if needed] Cloudflare tunnel for the lesser used site - and only have to forward to one VM from my IP.
I guess one more solution would be switching the apache2 over to nginx - can I route to a separate local IP from nginx reverse proxies??? Will research...
Thanks for thinking this thru with me - and I'll keep checking back for other suggestions. :P Appreciated!
With Cloudflare tunnels, I found I could only authorise one top level domain (perhaps multiple is a paid feature, I'm not sure), but I found I could run a second cloudflared in docker to authorise the second.
If you're running VMs, you can probably use tunnels no problem, with Cloudflare routing to the appropriate domain.
If you're against Cloudflare, there should be no reason you can't have nginx grab all traffic then forward the request to your apache2 server based on the host name.
I'd only need Cloudflare for one of the sites/VMs; or, both if it'll handle it easily - I'll be hosting both sites on my hardware. No sites data will be on Cloudflare, I was only thinking about using a tunnel from them to take care of one, or both, the sites.
Thank you for the reply - I'm blown away that I've gotten all these suggestions on LemmyNet before one reply on /r/!
The spirit of (small) community shines here, it would seem 😀
YES; I am loving the LemmyNet; I'll be here for awhile.