---

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

[ 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

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis