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.
3-Server Setup with External DNS
3-Server Setup with External DNS
Hello guys.
Let's say I have 3 VPS'es
VPS1 - 1.1.1.1
VPS2 - 2.2.2.2
VPS3 - 3.3.3.3
I want VPS1 to be webserver+database+ftp+mail server. I want VPS2 and VPS3 to be only DNS servers(master + slave DNS), but when I add a Web domain to VPS1, I want the DNS records to be created on VPS2 and VPS3, so VPS1 use them for DNS. I also want to be able to add another VPS4 (4.4.4.4) and etc. to be used as webserver+database+ftp+mail server. DNS for VPS4 should be handled by VPS2 and VPS3. They should be like master nameservers for my whole setup of webservers. Is this possible? If I confused you, can post a diagram.
P.S. I hope the creation of user accounts in my scenario can work automatically(considering using Vesta for hosting offers).
Let's say I have 3 VPS'es
VPS1 - 1.1.1.1
VPS2 - 2.2.2.2
VPS3 - 3.3.3.3
I want VPS1 to be webserver+database+ftp+mail server. I want VPS2 and VPS3 to be only DNS servers(master + slave DNS), but when I add a Web domain to VPS1, I want the DNS records to be created on VPS2 and VPS3, so VPS1 use them for DNS. I also want to be able to add another VPS4 (4.4.4.4) and etc. to be used as webserver+database+ftp+mail server. DNS for VPS4 should be handled by VPS2 and VPS3. They should be like master nameservers for my whole setup of webservers. Is this possible? If I confused you, can post a diagram.
P.S. I hope the creation of user accounts in my scenario can work automatically(considering using Vesta for hosting offers).
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: 3-Server Setup with External DNS
Please read the docs
http://vestacp.com/docs/#how-to-setup-dns-cluser
http://vestacp.com/docs/#how-to-setup-dns-cluser
Re: 3-Server Setup with External DNS
This works for DNS server "named" regardless of being web server or not... infact, VestaCP is a full stack on every VPS so you can use all VPS as Webservers and still make one of them as Master DNS replicating zones to other VPSs as backup DNS
Re: 3-Server Setup with External DNS
I got it setup the following way and it's working.
VPS1 got the VPS2 and VPS3 as DNS slaves.
VPS2 got VPS3 as a DNS slave(usable for just plain DNS hosting). Of course I had to create child-ns of the nameserver domain on all of them.
VPS1 got the VPS2 and VPS3 as DNS slaves.
VPS2 got VPS3 as a DNS slave(usable for just plain DNS hosting). Of course I had to create child-ns of the nameserver domain on all of them.