What country is a domain in¿ by domain name

Posted on 2011-04-28
Last Modified: 2012-06-27
How can I use a domain name to determin what country it's IP is in
Question by:ruffone
    LVL 6

    Expert Comment

    I'm not quite sure I understand the question but I'll give a stab at a guess.

    If you are trying to find out where the site his hosted from, you can ping the domain name to retrieve the IP address of the site:
    Open a command prompt in Windows and type "ping" and hit enter.
    Make note of the IP address returned in the result.
    Go to and input the IP address to look up what country it is assigned to.
    LVL 82

    Accepted Solution

    Try here:  They also have free code to do it programmatically.
    LVL 83

    Expert Comment

    LVL 4

    Author Comment

    austinstace you are on the right track of what I am asking for. However I am looking to do this all programaticly.
    LVL 82

    Expert Comment

    by:Dave Baldwin
    Along with the Country database, Maxmind also provides APIs in C# and VB.NET.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    This video discusses moving either the default database or any database to a new volume.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 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

    14 Experts available now in Live!

    Get 1:1 Help Now