Viewing an IPless site before DNS has propagated on MAC

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 /private/etc/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
 
Raptor18 - 70.182.140.18
Raptor16 - 70.182.140.16

Apollo3 - 70.164.1.8
Apollo4 - 70.182.140.40

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 /private/etc/hosts/yourdomainname.com

Step 3: Enter your admin password

Add Feedback