Mac OS X 10.2 or later
Edit the /private/etc/hosts file. For more information on how to use the hosts file, open Terminal and type: man hosts
Note: Editing this file requires root privileges.
Mac OS X 10.0 through 10.1.5
- Open /Applications/Utilities/NetInfo Manager.
- To allow editing the NetInfo database, click the padlock in the lower-left corner of the window.
- Enter your Admin password and click OK.
- In the second column of the browser view, select the node named "machines." You see entries for DHCP, broadcasthost, and localhost in the third column.
- The quickest way to create an entry is to duplicate an existing one. So select the "localhost" item in the third column.
- Choose Duplicate from the Edit menu. A confirmation alert appears.
- Click Duplicate. A new entry called "localhost copy" appears, and its properties are shown below the browser view.
- Double-click the value of the ip_address property and enter the IP address of the other computer: [IP] hostname.scene7.com
- Double-click the value of the name property and enter the host name you want for the other computer.
- Click the serves property and choose Delete from the Edit menu.
- Choose Save from the File menu. A confirmation alert appears.
- Click Update this copy.
- Repeat steps 6 through 12 for each additional host entry you want to add.
- Choose Quit from the NetInfo Manager menu. You do not need to restart the computer.
- Testing for success:
- Do a ping on the domain you use - you should see the IP address of the staging server, which you entered into your hosts file. http://www.wikihow.com/Ping-on-Mac-OS
- Go to your website and confirm all the agm calls are working as expected.