Skip to main content

XTM Connect – Sitecore 3.3

Updating the MS Windows hosts file

When you have enabled XTM Visual mode in the Sitecore settings, adjust the settings for your Sitecore server.

Note

If you have a docker-based version of Sitecore, you do not need to configure the hosts file in your Sitecore server's MS Windows configuration, as described below.

To update the hosts file in the Sitecore server's MS Windows configuration:
  1. On the server on which the Sitecore instance is located, find the MS Windows hosts configuration file. Default location: C:\Windows\System32\drivers\etc\hosts.

  2. Open the hosts file in an editor.

  3. In it, find the line with the Sitecore page that you are using. Example: URL "127.0.0.1 Sitecore01".

    Then change the site URL to the site name that you used in the first step. Example: "127.0.0.1 Sitecore02".

  4. Copy that line and paste it into a new line below, in the hosts file.

  5. In that line, change the site name, in the site URL, to match the site name that you noted down when you registered your Sitecore server for use as a Translation site in the relevant Sitecore configuration file. Example: "127.0.0.1 Sitecore02". In other words, the IP address (in this case, "127.0.0.1") remains unchanged, but the hostname is changed (in this case, to "Sitecore02").

  6. Save the hosts file and close it.

  7. Close the editor, if it is still open.

Now, if you have not already done so, configure the bindings for this Sitecore instance, in Microsoft IIS Manager.