To preview a website on another server you will need to add the following line to the hosts file on your computer (replace yourdomain.co.nz with your domain name):
188.8.131.52 www.yourdomain.co.nz yourdomain.co.nz
The IP you need to use depends on what server you are on. For our most common plans, these are the settings below.
Business Plan / Corporate Plan
To view the IP settings you need, click here.
Please use the same format above. However the IP address (eg the long number with the dots in it) will be different. You can find out what the IP number of your website is, by following these steps:
(1) Log into your CPanel
(2) Navigate to the 'Domains' section, and click the 'Advanced DNS Zone Editor'
(3) Navigate to the 'Zone File Records' section. Then look for the domain name entry that only contains your domain name without anything in front of it, eg yourdomain.co.nz. This will usually be the first entry. The IP address you need to use will be under the 'Record' entry.
Setting up the Hosts File
This is accomplished in Windows by adding the line to the file c:\windows\system32\drivers\etc\hosts, using notepad. If you are running Windows Vista or later you will need to ensure you run notepad as administrator. In Linux and Mac OS X the file is /etc/hosts.
You can now test the website by browsing to www.yourdomain.co.nz with your browser. Please note that you might have to re-start your browser first to make it realize that the IP has changed.
Once your testing is completed, you can revert those changes back (by removing the entries of the hosts file).