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.

  • First, you will need to run Notepad as Administrator on your PC – Right-click on the Notepad icon and click ‘Run as Administrator’
  • Click on File > Open and navigate to the directory C:\Windows\System32\drivers\etc and open the file called ‘hosts’
  • This is a text file with some information in the first few lines. At the end of the file on a new line, add the following line (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
  • Click File > Save As. Select the option to ‘show all file types’ so the hosts file will show and double-click it. Confirm to overwrite it
  • Open your Command Prompt and run the following command: ipconfig /flushdns
    You may need to clear your browser cache also

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.