load balancer
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- load balancer
load balancer
18-06-2024 12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Has anyone successfully set up a load balancer to run two servers off the single public ip?
I'm a keen hobbyist and run a server with a few websites for my family and those are handled by CWP (Centos Web Panel) and I'm guessing it is running reverse proxies.
But I would love to be able to run a cloud on my other server at the same time.
So I was wondering if a load balancer would do this for me.
I'm assuming that the load balancer would be at the gateway and then distribute the packets to the appropriate server according to the requests from the internet?
I can't think of any other way to do this. So I'm asking has anyone had any success running two servers off one public ip?
Re: load balancer
18-06-2024 12:53 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thread moved from Broadband to Tech Help
Moderator and Customer
If this helped - select the Thumb
If it fixed it, help others - select 'This Fixed My Problem'
Re: load balancer
19-06-2024 11:16 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
How would you be planning on accessing these servers? If via unique DNS/hostnames, then a reverse proxy should do exactly as you intend if configured properly. I don't see why you would need a load balancer.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: load balancer
19-06-2024 3:06 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
My understanding is that CWP (Centos web panel) uses a reverse proxy to distribute requests to the domains hosted on the control panel. So if I placed a reverse proxy at the gateway to serve the two servers I would be double natting, I think.
So I'm looking for a solution that can work with CWP and will route requests rather than reverse proxy.... unless I've completely misunderstood the way this works (which is probable)
Re: load balancer
19-06-2024 6:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Not familar with the software, but a spot of Googling suggests it's just using NGINX for reverse proxying purposes. Can't say for certain, but I wonder if there's a way you can edit the NGINX config within CWP to proxy requests to another machine/server on your network? It's light on detail, but this kind of suggests it should be possible.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: load balancer
19-06-2024 7:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
That's an interesting idea. CWP has both NginX and Apache. Doing it that way removes the double natting issue. Thanks Bob Pullen I'll do some digging to see if this can be done.
Re: load balancer
19-06-2024 10:44 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
"I don't see why you would need a load balancer."
<outside the box>
Perhaps the OP wants to dabble with more?
</>
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page