• 0 Posts
  • 15 Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle

  • Where would you host the script? If it’s expected that the server that fires it off is always online and performing health checks, why not have it host a load-balancer? Or another local instance of the website? It’s something fun to play around with, but if this is for anything beyond a fun exercise there are much better ways to accomplish this.


  • If you don’t want to mess with another VPS you can use a global server load balancer (GSLB) provider like Akamai, Cloudflare, Azure, etc.

    This being a self-host community though it’s unlikely you’d want to pursue something like this, but without knowing more about your specific use case it’s tough to make a recommendation.

    If global high-availability is your primary goal then a hosted solution is probably best.

    If this is just an exercise you and your friend are working on for giggles and it’s not for a mission-critical Production instance, then presumably self-hosting a load-balancer on each of your servers that includes both nodes in a target group would achieve this, though somewhat counterintuitive; if the website goes down at either location, I would imagine there’s a pretty high likelihood the LB itself would be down as well.









  • Some questions come to mind:

    1. Do you have a static IP address from your ISP?

    2. Dynamic DNS?

    3. Have you verified the listening service is a box you own?

    4. Is there a reverse proxy set up?

    5. Checked the edge router logs to see if it rebooted recently and reloaded firewall rules?

    6. What else sits between your router and the listening server?

    This could be any number of things, maybe this will help point you in the right direction.