Google Maps API error: RefererNotAllowedMapError
<p>We have a new website(say www.website.com) on Server B which is not live yet, which is using google maps on a page.</p>

<p>The old version of the website is on Server A is not using google maps.</p>

<p>I have created a browser key with domain name - www.website.com and in my hosts file set the IP address of Server B with www.website.com and tried to test google maps, but it is not working.</p>

<p>This is the error I am getting - </p>

<p>"Google Maps API error: Google Maps API error: RefererNotAllowedMapError <a href="https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error" rel="nofollow">https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error</a>
Your site URL to be authorized: <a href="http://www.website.com/page-that-has-google-map" rel="nofollow">http://www.website.com/page-that-has-google-map</a></p>

<p>Any suggestions on how to fix this issue? I want to test the google maps page on Server B and make sure the page is working fine before making the website on Server B live.</p>

<p>TIA</p>