We help IT Professionals succeed at work.
Get Started

DNS and IP location problem

myyis
myyis asked
on
157 Views
Last Modified: 2015-10-01
I have 2 sites: site.com and us.site.com
site.com (1.1.1.1) is hosted in Asia and us.site.com (2.2.2.2) is hosted in USA

The majority of  the visitors located in USA go to us.site.com
A few visitors located in USA  and using site.com are directed  to us.site.com with code using GeoIP location.
The problem is when the site.com fails those few users get an error.

I may use 2 A records for site.com (1.1.1.1 and 2.2.2.2) to overcome this problem but in this case lots of visitors (may be the majority) located in Asia will be redirected to 2.2.2.2 depending on the browser behaviour.

I can redirect the Asian visitors to 1.1.1.1 with code but this solution is very inefficient.

How can I solve this problem?
Comment
Watch Question
IT Manager
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE