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: Once the terminal application opens, you can find the hosts file in the /etc/hosts folder. You need to use a text editor. we'll use the Nano text editor for this tutorial.
Step 3: Type in sudo nano /etc/hosts and hit Enter/Return, you'll be asked to type in your password.
Step 4: Insert 2 new lines, depending upon what server you are on.
Raptor18 Insert These Two Lines
70.182.140.18 www.yourdomain.com
70.182.140.18 yourdomain.com
Apollo4 Insert These Two Lines
70.182.140.40 www.yourdomain.com
70.164.140.40 yourdomain.com
Step 5: When done editing hit Ctrl+X, select Y to overwrite and hit Enter/Return to save
Be sure to change the 'yourdomain.com' part to whatever your domain name is. This will force your system to temporarily resolve the domain to our servers without checking DNS. This is useful when trying to view a website before DNS change be moved over to our name servers
Alternately, you can bypass DNS using the following web based tool https://www.skipdns.link
Article ID: 31, Created: May 9, 2008 at 9:12 AM, Modified: October 15 at 9:21 AM