Trace the IP Address of an Email or Website

Edited by Jay, Maria Quinney, Visihow Admin

...More

We all receive an odd or suspicious looking email from time-to-time. For whatever reason, it managed to bypass the spam filters and ended up directly in our inbox. Most of the time people delete it without raising an eyebrow. However, if you're of the curious nature and would like to investigate a little further, you can always find the IP address by looking into the header information of the email itself. An IP address is a string of numbers linked to a router that's connected to the internet. Think of it as a phone number that is assigned to a mobile device. Once you've got an IP address, you can then do a bit of additional snooping and find out where that IP is geographically located. Although it may only give you the location of the email server it originated from, this can still come in handy because in most cases, the server is relatively close to the original sender.

Was this helpful? Yes | No| I need help

The same thing goes for a website. That is, you can trace the IP address of the servers the site is hosted on. So, if you're receiving odd looking links and want to know just where these sites are hosted; you can do a quick search right from Windows' command prompt. You can also do a quick check into who registered the domain of a website. If you're unsure of the legitimacy of a particular site, a quick Whois search can provide quite a bit of useful information.

Was this helpful? Yes | No| I need help

In the following VisiHow tutorial, we're going to take you through the steps on how to locate the header of an email for; Gmail, Outlook (Hotmail), and Mail.com. We'll then show how to pull the IP address from the header to search for its location. Also, we'll show a simple way to use the command prompt in Windows 10 (any version of Windows will work) to find the IP address of a website. And finally, we're going to show how to perform a Whois lookup to see who registered the domain of a site.

Was this helpful? Yes | No| I need help

Please remember that in some cases, a user can be connected to a VPN. In this case, the IP address could be from some other country instead of their own. Another thing to consider is that when someone is using a free email provider such as Gmail, the server could be located in another country.

Was this helpful? Yes | No| I need help


Locate Email Header in Gmail

  1. 1
    Open the email in question, then click the little triangle (More) to the right of the reply button.
    Advertisement
    Was this step helpful? Yes | No| I need help
  2. 2
    With the additional options expanded, click "Show original".
    Advertisement
    Was this step helpful? Yes | No| I need help
  3. 3
    Once the Original Message is open, click the "Copy to clipboard" button.
    Was this step helpful? Yes | No| I need help
  4. 4
    Open a text file and paste the original message, then proceed to the section on tracing the IP address from an email header.
    Was this step helpful? Yes | No| I need help


Locate Email Header for Mail.com

  1. 1
    Open the email you want to trace, then click the "I" icon on the far right.
    Advertisement
    Was this step helpful? Yes | No| I need help
  2. 2
    With the Extended Header Information open, select all the text and copy it to the clipboard.
    Was this step helpful? Yes | No| I need help
  3. 3
    Open a text file and paste the copied header information, then proceed to the section on how to trace the IP from an email header.
    Was this step helpful? Yes | No| I need help


Locate Email Header in Outlook (Hotmail)

  1. 1
    With the email you wish to trace open, click the drop-down triangle next to the Reply all button.
    Was this step helpful? Yes | No| I need help
  • 2
    Once the additional options are expanded, click "View message source".
    Was this step helpful? Yes | No| I need help
  • 3
    Next, select all the Message source text, then copy it to the clipboard.
    Was this step helpful? Yes | No| I need help
  • 4
    With the Message source copied, paste it to a new text file, then proceed to the next section of this guide.
    Was this step helpful? Yes | No| I need help

  • Trace IP Address Info from an Email Header

    1. 1
      Go to whatismyip.com and click "IP Tools" from the bottom menu.
      Was this step helpful? Yes | No| I need help
    2. 2
      On the following page, click "Email Header Analyzer" from the left-hand menu.
      Was this step helpful? Yes | No| I need help
    3. 3
      When the Email Header Analyzer loads, open the text file you copied the header information to, then copy and paste it into the blank box.
      Was this step helpful? Yes | No| I need help
    4. 4
      With the email header pasted into the text box, click "Analyze".
      Was this step helpful? Yes | No| I need help
    5. 5
      When the results return, you'll see the; IP address, Country, City, Area Code, Latitude, and Longitude. Some of the information could be missing, but the country will always appear.
      Was this step helpful? Yes | No| I need help


    Find IP Address of a Website with Windows' Command Prompt

    1. 1
      Using the Windows Start Menu search function, type; "command prompt" (without the quotes), then click "Command Prompt" when the results populate.
      Was this step helpful? Yes | No| I need help
    2. 2
      With the command prompt open, type; "tracert www.nameofwebsite.com" (without the quotes), then press Enter.
      Was this step helpful? Yes | No| I need help
    3. 3
      Once the trace is complete; you'll see the website's IP address next to URL, as well as on the last line.
      Was this step helpful? Yes | No| I need help
    4. 4
      Now that you have the website's IP address, visit ip-tracker.com. Next, paste or type the IP address into the red box, then click the "Trace IP With IP Tracker" button.
      Was this step helpful? Yes | No| I need help
    5. 5
      When the results populate, you'll see a variety of information including; Country, City, ISP, Map info, etc.
      Was this step helpful? Yes | No| I need help


    Perform Whois lookup for a Domain

    If a website looks a bit sketchy or you're unsure of its legitimacy, perform a quick whois search for more information. An actual company or individual should register a website/domain with real contact information.

    Was this helpful? Yes | No| I need help
    1. 1
      Visit whois.com and type the name of the website into the search box.
      Was this step helpful? Yes | No| I need help
    2. 2
      When the search results return, you'll see a variety of contact information for each section (domain information, registrant contact, administrative contact, technical contact) including email addresses and phone numbers.
      Was this step helpful? Yes | No| I need help








    Questions and Answers

    How can one pull out the actual sender's IP address from the email header?

    I pulled out an IP address from the email header and it turns out that it was the website server's IP. . So is it possible to get the actual IP Address of the sender

    VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.

    If you have problems with any of the steps in this article, please ask a question for more help, or post in the comments section below.

    Comments

    VisiHow welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

    User Reviews

    There is no user reviews.

    Article Info

    Categories : Software

    Recent edits by: Maria Quinney, Jay

    Share this Article:

    Thanks to all authors for creating a page that has been read 489 times.

    Did this article help you?
     
    x

    Thank Our Volunteer Authors.

    Would you like to give back to the community by fixing a spelling mistake? Yes | No