Mobile app version of vmapp.org
Login or Join
Steve110

: One domain, multiple IP addresses I have a domain-name, and I want to host the website on two servers. One server is located in Europe and one in Asia. How can you route European people to

@Steve110

Posted in: #Dns #Domains #Server

I have a domain-name, and I want to host the website on two servers. One server is located in Europe and one in Asia. How can you route European people to the European server and Asian people to the Asian server?

I want to do this, because if you access a European website in Asia it's very slow and visa versa. I know/think some big websites are doing this too (like Google, Facebook, etc.).

Is it possible to do this? Or is there another way to manage this problem? And I'm not thinking of two domainnames.

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Steve110

4 Comments

Sorted by latest first Latest Oldest Best

 

@Berumen354

Easy, just put script ip detect geolocation in your header index.php. Example: if IP from asia, redirect to asia.yourcompany.com else redirect to yourcompany.com
Yahoo will redirect to id.yahoo.com if visitors from Indonesia :)

10% popularity Vote Up Vote Down


 

@Correia994

I would investigate multiple A records in the DNS. It appears that may do what you want. It is worth researching.

10% popularity Vote Up Vote Down


 

@Lengel546

You can use a DNS server that returns the IP address that is closest to the requesting IP address.

I have never used such a service, but the Server Fault post Geo-DNS providers? discusses many providers.

10% popularity Vote Up Vote Down


 

@Murray155

Yoni, large companies do this with DNS load-balancing appliances like Cisco's Global Site Selector.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme