To add a host file in Mac so you can view your site on our server before DNS propagates follow these steps.
Step 1: Open Terminal
Step 2: Enter sudo dscl localhost -create /Local/Default/Hosts/yourdomainname.com IPAddress 0.0.0.0 putting in your domain name and replacing the 0.0.0.0 with the proper IP address of the server.
Step 3: Enter your admin password
Raptor16 - 70.182.140.16
Raptor15 - 70.182.140.15
Raptor14 - 98.191.162.129
Raptor13 - 70.167.156.65
Raptor12 - 70.167.156.193
Apollo1 - 70.182.176.86
To remove the host file after your site has been fully moved over or DNS has propagated for your new site follow these steps.
Step 1: Open Terminal
Step 2: Enter sudo dscl localhost -delete /Local/Default/Hosts/yourdomainname.com
Step 3: Enter your admin password
Article ID: 31, Created: May 9, 2008 at 9:12 AM, Modified: August 15, 2017 at 7:59 AM