Solved

Redirect domain based on region

Posted on 2014-10-09
4
122 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
  • 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 82

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 82

Expert Comment

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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now