I have a question about using a Google map key on a non-profit website that can be accessed via multiple URLs.
I would like to include a simple Google map in then website but the map page will need to be accessible from multiple URLs. Let me explain. The main access to the website will be via the domain newfoo.com, which is a domain name the club purchased. They use ZoneEdit.com to point newfoo.com to a hosting site used by non-profits and that domain name is foo.freeshell.org. Their old domain name was oldfoo.com and it too points to foo.freeshell.org via ZoneEdit.com. Just to complicate things further, thet have a backup site at ANOTHER free hosting site and the URL for that one is foo.x10hosting.com. The backup site is for use of club members when the main site is down; that doesn't happen too often but it does happen. Also, changes to the website are first tested in the backup site and then, if successful, are copied to the main site. Since all of the four URLs - newfoo.com/mappage.shtml, oldfoo.com/ mappage.shtml, foo.freeshell.org/mappage.shtml and foo.x10hosting.com/ mappage.shtml - are showing the same map, I'd like the maps to all use the same Google map key. There are really just two physical sets of files: the ones used for the main site (newfoo.com, oldfoo.com, foo.freeshell.org) and the ones used for the backup site (foo.x10hosting.com). However, it's going to be a bit of a pain to have to alter that hideously long key accurately each time as I move new versions of the map page from the backup server to the main server. Is there any way I can simply use a single key for both versions of the mappage.shtml page yet be confident that it will work with all four URLs? (oldfoo.com will be retired in a year or so but it still needs to redirect to newfoo.com for now; newfoo.com will continue to point to foo.freeshell.org just as oldfoo.com did.) By the way, I'm not wedded to the key that I have. If there is some way to generate a key that doesn't have a dependency on the domain name, that would be fine with me: I'd just use that instead of the one I have. I just don't want to have to handcode the long key each time the page moves between the backup and main servers. -- 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.
