Link to home
Start Free TrialLog in
Avatar of moorthy_kulumani
moorthy_kulumani

asked on

DNS CNAME records for DR purpose...

I have an Application running on server1.domain.com. And I have a CNAME for my application as Myapps.domain.com to serverA.domain.com.


Users access the application by using Myapps.domain.com.

I am planning to put a DR for this website on Server2.Domain.com in different city.
Now I want to setup something like MX record priority like…if my Server1.domain.com fails then it should automatically go to my DR server Server2.Domain.com.

How to setup this…Should I put Two CNAME pointing to server1 & server2.

How it is going to work ?



ASKER CERTIFIED SOLUTION
Avatar of chris_calabrese
chris_calabrese

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of moorthy_kulumani
moorthy_kulumani

ASKER

Instead of having two A record can i have two CNAME point to Diffent A record with less TTL for the Production ?

And do we need to delete the Prodiction record...when the production server goes down ?

how it is ?
No. CNAME's are a one-to-one mapping between a name and another name. A records are one to many mappings between a name and one or more IP addresses.

Yes, you'd need to delete the production record when the production server goes down.