Results 1 to 5 of 5
  1. #1

    Same Domain -> different IP based on country

    I've seen sites that use only 1 domain name, and when I ping it from one country the IP is different from when I ping it from another country.

    How do you do that?

    Thanks

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    They're most likely using a content distribution network (CDN), something like Akamai. For example, the Microsoft Download website appears to be hosted on my ISP's network, whereas pinging it from one of our servers shows it elsewhere in the world.
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

  3. #3
    Is there somewhere a nice guide how to realise it ourselves with own servers distributed over the world?

  4. #4
    Join Date
    Jan 2004
    Location
    North Yorkshire, UK
    Posts
    4,163
    A CDN is not simple, you would likely need to take the advice of an expert in this field to establish one. There is no 'guide'.

    You can do it using either intelligent DNS where the DNS server returns the IP of your local server each time you do a query, or using anycast where the same IP is visible in multiple locations around the world. The latter being the best way (IMO) to do it.

    Your best bet is to sign up with a company that provides a CDN service rather than trying to establish your own.

    Dan

  5. #5
    you can use BIND with geoDNS from:
    http://www.caraytech.com/geodns/
    Server Surgeon George
    http://www.serversurgeon.com
    Linux, BSD and Windows Administration Services
    Toll Free US 877-378-7436 International +1-213-291-9191

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •