Possible to use the two different servers on one domain ?.
-
- Posts: 3
- Joined: Fri Apr 30, 2021 10:40 am
- Contact:
- Os: CentOS 5x
- Web: apache
Possible to use the two different servers on one domain ?.
Hello,
I have the following setup with Vesta CP on two servers:
Server1 - serving Domain1.com
Server2 - DNS server clustered from domain1.com and hosting domain2.com
Now , i have two domains , domain1.com and domain2.com. I am hosting domain1.com on server1 and domain2.com on server2. I have created A records for domain2.com to point to server2. and also DNS cluster in enabled.
Now if server1 goes down , my server2 keeps working because DNS is working because of the DNS cluster.
My question is that , is it possible to add domain1.com and domain2.com on both the server1 and server2 , so that if anyone of the server goes down , the other server automatically takes on the load.
Perhaps adding two IP addresses in the A records of the domain1.com and domain2.com will do the job?
Any help will be appreciated.
thanks
alexsunny
I have the following setup with Vesta CP on two servers:
Server1 - serving Domain1.com
Server2 - DNS server clustered from domain1.com and hosting domain2.com
Now , i have two domains , domain1.com and domain2.com. I am hosting domain1.com on server1 and domain2.com on server2. I have created A records for domain2.com to point to server2. and also DNS cluster in enabled.
Now if server1 goes down , my server2 keeps working because DNS is working because of the DNS cluster.
My question is that , is it possible to add domain1.com and domain2.com on both the server1 and server2 , so that if anyone of the server goes down , the other server automatically takes on the load.
Perhaps adding two IP addresses in the A records of the domain1.com and domain2.com will do the job?
Any help will be appreciated.
thanks
alexsunny