Solved

Redirect domain based on region

Posted on 2014-10-09
4
134 Views
Last Modified: 2014-11-05
Hello,

Our website domain is using a .com web address. The performance (when loading the site) is effected if accessing the site in Asia for example. I'm thinking of just creating a duplicate of the website but with a .cn as the sub-domain web address.

So what I'd like to happen is when visiting contoso.com (detecting if your IP is from Asia region) the browser will redirect to contoso.cn and decrease load times. Can this be done? What is this process called? Our domain is hosted off-site, how can i request this specifically from our hosting provider?

Thanks.
0
Comment
Question by:TropicalPriest
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:Prashant Jagdale
ID: 40372302
Write a code that will detect your client browser default language and depending on that redirect the user to the specific site. i.e if you found the client browser default language as 'Chinese' redirect user to www.contoso.cn
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40372314
Distance does affect loading time.  Creating a new site at the same location is not likely to change that.  Large companies solve that problem by have servers all around the world.  If you want better load time in Asia, you should redirect to a server that is located in Asia that is a duplicate of your current site.  This site http://www.uptrends.com/aspx/free-html-site-page-load-check-tool.aspx lets you check your page load times from it's servers around the world.
0
 

Author Comment

by:TropicalPriest
ID: 40425516
Dave thanks for that website it helped in determining a lot of factors. I think we will have to compress our images on the site. They are whats bogging down the hosted web server during requests. Thanks!
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40425633
You're welcome, glad to help.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question