> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.metalocator.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Code.MetaLocator.com refused to connect

This error is displayed when the **Bind to domain** setting uses the a different domain then the one the interface is installed on.

For example the **Bind to Domain** can be set to "[www.metalocator.com](http://www.metalocator.com)"

The interface can be installed on a number of pages such as [https://www.metalocator.com](https://www.metalocator.com), [https://metalocator.com/locator](https://metalocator.com/locator). In this case the locator on [www.metalocator](http://www.metalocator) would work where as the locator on metalocator.com (without the "www.") will display the error message above.

The best practice in this case is to redirect users to one domain for the interface so the locator analytics and stats are not split between two pages. However if the locator is necessary on both pages the **Bind to domain** setting should have both domains or be left blank. This setting can be found under the **Advanced** settings of the interface builder:

[![](https://storage.crisp.chat/users/helpdesk/website/-/1/d/1/0/1d10b44f101b6c00/15e2a39a-063a-4f18-9e19-61a649_10yf5x7.png)](https://downloads.intercomcdn.com/i/o/748799759/64f861243883bda6a5e16a55/image.png?expires=1794513600&signature=211cdc7e6f183a6d7cf029f06e2e391828d73509413365258b8316f6066c9648&req=cyQvEcB3moRWFb4f3HP0gGyMW8OrAytRd3dbq9sejpN2ZrEyc7e0Y2OmVlHv%0AWgplucx6rzwuMNThmg%3D%3D%0A)