To view/test your website before repointing the DNS of the domain, you can edit a text file (called the ‘hosts’ file) on your computer to bypass the live DNS for the domain. This change will only apply to your computer and will make no changes to the live DNS of the domain. For steps on how to do this, please see the following:
- Open the Terminal app (either by start typing Terminal on the Spotlight, or by going into Applications > Utilities > Terminal)
- Open the hosts file. To open your host file please type the following into your Terminal that you have just opened: sudo nano /private/etc/hosts Type the password for your mac when prompted.
- Edit the hosts file. A) Use the arrow keys to navigate to an empty line at the bottom of the page. B) Once there, enter in the following (replacing ‘ip_address’ with the *IP address for your hosting account and ‘domain.com’ with your actual domain name): ip_address domain.com www.domain.com
- Save the hosts file. A) When done editing the hosts file, press control-o to save the file. B) Press enter on the filename prompt, and control-x to exit the editor.
- Flush the DNS cache (optional if not working). Please see https://support.apple.com/en-us/HT202516 for more information on how to do this.
Now, when you go to the website it will load up as it appears on your new hosting account.
*You can find the IP address for your hosting account by logging in to your cPanel control panel and in the section on the left, clicking on Server information -> Shared IP Address.
If you require further information/assistance on any of the above, please feel free to submit a ticket to our Support Dept. and a member of the team will be happy to help.