Page tree
Skip to end of metadata
Go to start of metadata

How to edit the Hosts file

1.Double-clickTerminal.

2. Typesudo nano/etc/hoststhen hitEnter.

3. Or sudo nano /private/etc/hosts

4. You'll be asked for your password. Because root privileges are needed to edit the Hosts.

5. Enter your admin password.


Use the arrow keys to move the cursor. Append your entries to the end of the file. Use the tab key or spaces to separate the IP from domains. See the example below and add the following details:

Example only (make sure you enter the correct IP and the address) 0.0.0.0  local.yourownsite.com

Once you're done, hold down thecontrolandOkeys to save the file and press enter to write. ThencontrolandXto exit the nano editor. That’s it, and reload your browser and you should be able to access ehors.To check if the host file has been configured successfully. Go to your browser and type your URL for Ehors, you should be able to see the login screen of Ehors.

  • No labels