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
Solved

Redirect domain based on region

Posted on 2014-10-09
4
129 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apached AXIS end to end simple good example 2 98
Collapseable list of URLs. 10 140
Create 4 <div> below each other in php 2 68
Stupid git question 2 102
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 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