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
    9,072
    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.
    RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca

    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,164
    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
    █ Dan Kitchen | Technical Director | Razorblue
    █ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
    █ UK Intensive Managed Hosting, Clusters and Colocation.
    █ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).

  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
  •