Configure hosts file for SSO

The etc/hosts file (pronounced et-see hosts file) is a file that can be edited to add domain names that will be resolved locally in preference to values in the extended DNS system. For example, by adding an entry here we can cause our machine to resolve to The format is columnar with the IP address to which a domain name should be resolved located in the first column followed by at least one space or tab character. The second column contains the domain name that will be resolved. To add our address add the following line to the hosts file.

Adding such a local name resolution is not necessary if your machine is online as there is already a DNS entry for that maps to Adding such an entry is required if you are offline so that a location targeting the local machine like can be entered in the browser and yet can be for a domain that matches the domain of the cookie being set by the simulator. Were the domain location not to match that of the cookie for the simulator then the cookie is rejected by the browser and will not be submitted with the requests. For very complex setups you may add multiple names on the one line separated by whitespace.


  • Windows: The etc/hosts file on windows XP is located in C:\WINDOWS\system32\drivers\etc.
  • Unix including Linux: This file is /etc/hosts and should only be editable by root
This page was last modified on 22 March 2012, at 12:37.

Note: Content found in this wiki may not always reflect official Church information. See Terms of Use.