They seem to know my city. How else would I get a pop-up that says: “<My city> girls want to meet you” Does my computer broadcast information about me? Could my high-speed provider be giving a signal?
TRACERT command and a reverse lookup on the server will locate you close to your town. I am sure there are other methods but this is an old one.
Jim
IP addresses are roughly translatable into cities and towns. It will usually get you very close. There is a website that lets you input an IP address and it tells you where it is. That can be useful for lots of reasons. One scary thing is that websites usually log visiting IP addresses. You can go through those and cross-reference them with cities, towns, and countries. I have my own website with personal photos and information. I did an x-ref before and was very suprised to find very frequent traffic from places where I only know one person and they aren’t really close friends or family.
As mentioned - most likely by IP Address.
Whilst it’s used most obviously for advertising purposes, there are some other uses - i’ve just finished building a website for a magazine, for example, that has both a US version and a UK version.
IP relocation allows me to have one site for both, but with the content tweaked according to region, without users in either country realising.
Can you use this somehow to find all websites hosted that are locally?
You could locate IP address based in a certain range. You would have to know the ranges that were local though. I also have no idea how to scan all IP addresses by range to find sites.
However, the biggest problem is that most people pay some company far, far away to host their web site. I think mine is hosted in California and I live in Massachusetts.
Here is an IP Locator that will display what city is associated with your IP address.
Oh and IP doesn’t always show where you live. Websites think I live in Sydney, for example.
Define “local”. As Shagnasty said, a site can be about one place, yet be located in another place. My website has reviews of restaurants and whatnot in the Charlotte area, yet is hosted in Houston. You can even get to my site via a .co.uk extension, and I think Houston is about as opposite from the UK as you can get.
Of course, you could always use IP ranges to check sites that are, in fact, hosted locally… but they might not be all that interesting.
And IP locations don’t always work. Some ISPs - like AOL - might have all their IPs registered in one location (Dulles, Virginia… isn’t that where their headquarters are?), yet their users are in other locations. In some situations, geographic IPs simply don’t work at all, as csharpmajor seems to have found out.
My IP pops through Kuwait. I get “Sexy Kuwait Girls Want to Meet You.” Unlikely at best I think.