Knowledgebase
Knowledgebase
How can I see a preview of my website?
Posted by Karmjit Grewal on 14 March 2017 06:39 PM

There are two methods to preview your website:

 

1.From your Control Panel:

 

■ Within the Website & Domains page, click on the Preview button for the domain in question

sitepreview

■ A page should open showing you the preview of your website. As the Site Preview button is not always accurate when previewing dynamic websites, you may want to use the second option

 

2.From your computer's Host file:

 

■ Accessing your Host file for Windows users:

° Press the Windows key and type 'notepad' (Alternatively, find the Notepad icon in the 'Accessories' menu within the Start Menu)

° Right click the Notepad icon and select 'Run as administrator'

° Click 'File' -> 'Open' and then navigate to C:\windows\system32\drivers\etc\

° Open the file called 'hosts' (If you can't see any files at first then select 'All Files' in the File type pull-down menu)

 

■ Accessing your Host file for Linux/Mac OS users:

° Open the Terminal application

° Enter sudo nano /etc/hosts (Both sudo and nano may vary depending on distribution and personal preference)

 

■ To add the website you wish to preview, enter your IP Address and domain name like the following example:

° 203.89.57.14       www.domain.co.nz (You may want to do this twice, once with www and once without)

 

Save the file, then open a new browser. You see the preview of the website you have created

 

Remember to undo this when finished testing or your machine will always want to go to that IP address whenever you want to go to that site.

 

(0 vote(s))
Helpful
Not helpful

Comments (0)