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 DNS Server
  • Search

2 Vesta Servers & Domain Pass Over - Ubuntu

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Vegas10128
Posts: 38
Joined: Tue Aug 16, 2016 4:58 pm

2 Vesta Servers & Domain Pass Over - Ubuntu
  • Quote

Post by Vegas10128 » 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!
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: 2 Vesta Servers & Domain Pass Over - Ubuntu
  • Quote

Post by skamasle » Wed Jan 29, 2020 7:12 pm

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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “DNS Server”



  • 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