We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
2 Vesta Servers & Domain Pass Over - Ubuntu
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
2 Vesta Servers & Domain Pass Over - Ubuntu
Hello Vesta Community!
Currently i have 2 Vesta Servers Running Ubuntu 16.04 LTS
My Primary server has plenty of domains and websites, and recently made an 2nd Vesta CP Server on the local network. I am able to add domains to the 2nd server,
The goal for this project is for the user to type (myexamplewebsite .com) and that request goes to the primary server (because its port forwarded) and the primary server is able to take that request and pass it over to the 2nd VestaCP server because thats where the website and domain are actually hosted.
I have tried adding the domain into the DNS Records of the Primary VestaCP Server, and pointed it to the local ip address of the 2nd VestaCP server but have no luck.
when typing in the website into the browser, it will only display the first website hosted into the Primary VestaCP server.
Any ideas i could do?
Am i going about this solution the wrong way?
Thank you for your help!
Currently i have 2 Vesta Servers Running Ubuntu 16.04 LTS
My Primary server has plenty of domains and websites, and recently made an 2nd Vesta CP Server on the local network. I am able to add domains to the 2nd server,
The goal for this project is for the user to type (myexamplewebsite .com) and that request goes to the primary server (because its port forwarded) and the primary server is able to take that request and pass it over to the 2nd VestaCP server because thats where the website and domain are actually hosted.
I have tried adding the domain into the DNS Records of the Primary VestaCP Server, and pointed it to the local ip address of the 2nd VestaCP server but have no luck.
when typing in the website into the browser, it will only display the first website hosted into the Primary VestaCP server.
Any ideas i could do?
Am i going about this solution the wrong way?
Thank you for your help!
Re: 2 Vesta Servers & Domain Pass Over - Ubuntu
Hi
I not understand your goal
But if you have your DNS pointed to server A and you whant your server A forward trafic to server B maybe you whant a proxy pass in nginx template
So make a proxy pass in nginx instead of go to local server go to server B
Or you need some load balancer ?
Or just request to A and A forward to B ? ( with proxy pass you can do it )
Or as we are in DNS secion you need just change your A record to point IP to server B
You can manage all your sites inserver A and make some changes in your DNS entre CNAME / A / AAAA and point it to server B in determinated domains
I not understand your goal
But if you have your DNS pointed to server A and you whant your server A forward trafic to server B maybe you whant a proxy pass in nginx template
So make a proxy pass in nginx instead of go to local server go to server B
Or you need some load balancer ?
Or just request to A and A forward to B ? ( with proxy pass you can do it )
Or as we are in DNS secion you need just change your A record to point IP to server B
You can manage all your sites inserver A and make some changes in your DNS entre CNAME / A / AAAA and point it to server B in determinated domains