I am trying to test Google Maps in development sites under IIS. My local testing URL is http://sitename/. As there is no “.com” in the name, I cannot obtain an API key. I can obtain a key for http://localhost/, but I am wondering if there is a way to use the testing URL http://sitename/.
Share
This was a fluke. For some reason, the key register page would not allow me to register the domain. After posting this question, I tried again and it gave me the key.
To use Google maps on a testing server, just register for the key with the testing name http://sitename/. This will also work for /localhost/.