Linux Today: Linux News On Internet Time.

How to (easily) fool your host into thinking a name is mapped to a certain IP address

Jul 20, 2010, 19:05 (2 Talkback[s])
(Other stories by Edmundo Carmona)

[ Thanks to Edmundo for this link. ]

"Very recently I've been involved in setting up a site that uses Google Maps API. When you want to use the API you have to create a key that is generated according to the name of the site but, as of now, the DNSs of the name we want to use are not pointing to our hosting. I could use the IP address of the host where the site is, right? Well, no. It's a shared hosting so requests have to be made by name.

"In this case I have to fool my host into thinking that the name we want to use is mapped to an IP without going through public DNS resolution."

Complete Story

Related Stories: