On Dec 3, 9:38 am, Brett <[email protected]> wrote:
> I have been working with the google maps API on localhost for the past
> couple days with no problem (no key checks). When I push it out to our
> local server so my co-workers can test my application, the key I get
> from google gives me the "This website needs a different Google Maps
> API key." error.
>
> The app is hosted on our server "venus". We access it through our
> browser using "http://venus/empro/index.ashx";
> I have tried getting a key for "http://venus/empro/index.ashx";,
> "http://venus/empro";,
> and "http://venus";
>  none of them work, what am I doing wrong? using the same code works
> just fine on localhost, so I'm pretty sure it's just the key.

Can you put it on a publicly available server?
Or give that server a domain name that looks like a public one (http://
venues.com or something like that)?
Or try using the ip address (if it is not one reserved for local use
only...)

I would think that http://venus should work, but as it is not a valid
domain name, it might not.

The terms of use require a public domain unless you have a premier
key, but I know people have used local servers for testing (searching
the group may yield some other options).

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to