Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Step-by-step guide

 If   If you cannot access the site using the temporary IP address, you can modify your Mac OS hosts file instead.

Step 1
Launch           the Terminal app. You can find the Terminal app under the           Utilities folder in Applications. You can also find it using           the Spotlight function.

Step 2
Once the Terminal app is open, type the following command and press enter. You'll be prompted for your Administrator password:

sudo nano /etc/hosts

Step 3
The Nano text editor will appear with the content of the /etc/hosts file within it. Use your arrow keys to place your cursor at the end of the file. You can now type the IP address of where you want the domain to resolve to, followed by the tab key, and finally, enter the domain name.

...

sudo killall -HUP mDNSResponder


Info
IMPORTANT: Don’t forget you have edited the

...

hosts file. At some point, you’ll want to come back and undo

...

the changes made here.

 

...

Content by Label
showLabelsfalse
max5
spacesGKB
showSpacefalse
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel in ("hosts","mac","file","edit") and type = "page" and space = "GKB"
labelshosts file edit mac

Page properties
hiddentrue

 

Related issues