2 Vesta Servers & Domain Pass Over - Ubuntu
Posted: Mon Jan 27, 2020 7:34 am
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!