Question:
I want users in 2 cities to see Version A of my website while the rest of the world sees Version B. Possible?
jaysonmarceau
2006-11-24 12:00:09 UTC
I know that cloaking shows one version of a website to a search engine and another version to other people...it seems like, then, you could use the same techniques to show people in Samplecity, USA one version of the site, and the rest of the world another version. Seems this would be dependent upon one's ability to know the IP addresses/ranges used in a particular city. I know that's doable to some degree, since analytics programs have been reporting that info for years. But that's just one side of the coin; saying that a particular address comes from Memphis is one thing, but attempting to identify all IPs in Memphis is another.

Anyhow, if anyone knows whether this is possible, I'd love to hear it. Thanks in advance for your help!
Four answers:
2006-11-24 12:51:08 UTC
This is possible by using a reverse DNS lookup service on your Web page, but it has limitations.



If you Google "reverse DNS lookup," you will find all kinds of information about this.



The limitation is that sometimes, your ISP's netblock info does not properly correspond to your geographic location; that is especially true with larger ISPs.



Also, some clients will not properly report their IP addresses in HTTP requests, so you should always trap for that.
2016-12-10 20:10:43 UTC
do you be attentive to, i'm so depressing this night, I easily have basically logged on and howdy presto a nutter a kindred spirit sent from above to make me snigger out loud in popularity, and that i agree there's no longer something to triumph over the perfect sell off , so friendly as a surprising crappp. you experience like dancing, and taking on the completed international which seems surprising. I easily have suffered the drink sell off, the sticky one, those - like sheep droppings - how DOES THAT take place. on no account completed the after slightly one one. The encore one is a bloooody nuisance exceptionally in case you're late for artwork. i do no longer hardship with the completed roll scene, I basically use infant wipes and thank god i've got not got toddlers arshshes to wipe all day for years.!! The loud ones ability you reside interior the lavatory until you desire each and every physique else has completed the employer and left so which you do no longer could face them. My Dad gave me a tip in case you fart, in employer basically go searching in disgust to divert interest or run far off from it. I do this in supermarkets, fart, won't be able to help it or save it in, and run for my existence leaving the flow in my wake. thank you lots i've got self belief virtually universal now. You surpassed over the watery fart one tho'. regularly occurs after many days on the booze. Ta ta the noo Love Camilla xxx
knvb1123
2006-11-24 12:05:22 UTC
Yes, it is possible.

That's how some sites determine what city we are in...

First, you would take the IP of the visitor, then locate it using some API, or a service... That's how



If you need a real specific answer, email me



Keehun
3wisemonkeyz
2006-11-24 16:56:58 UTC
It's called content localization. Quova does it for the BBC, MLB and other sites worldwide. You can buy a datafile from them or use their Java based service.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...