Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Using reverse proxies as a substitute for routing tables?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Martin77
Posts: 1
Joined: Thu Jul 04, 2019 7:18 am

Os: CentOS 5x
Web: apache + nginx
Using reverse proxies as a substitute for routing tables?
  • Quote

Post by Martin77 » Thu Jul 04, 2019 7:28 am

I’m a complete beginner to nginx. We currently use routing tables and do IP based routing on our clients. We will enter the IP address of the database the client can connect to along with a port.

However, if the database goes down then the client can not connect to it. We have a failover set up but since it is IP based, we will have to manually change the IP address in the routing table.

Is there any way we can make it so that it’s perhaps DNS name based so that if the first database goes down it will hop over to the failover?

My apologies if what I’m asking is not even possible. I’m very new to all this but need to find a way we can do this. If there’s any solution it will be greatly appreciated. Thank you all in advance.
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Using reverse proxies as a substitute for routing tables?
  • Quote

Post by dreiggy » Sun Jul 28, 2019 8:35 pm

Hi,
Try refer to this article: https://docs.nginx.com/nginx/admin-guid ... -balancer/
And this one too: https://severalnines.com/blog/using-ngi ... ra-cluster
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password