Some sites cannot be tested properly using the Preview link due to limitations or restrictions within the website code. To test the site prior to making it live you can edit the hosts file in your Windows PC. This will simulate the site being live only on this PC.
Before you begin, you will need:
- You will need administrative priviledges on your Windows PC to perform this task
- You will need the IP address of the website you want to test. To get the IP address follow these instructions: http://billing.wsigenesis.com/knowledgebase/228/How-to-find-the-IP-of-the-website.html
- Find Notepad (by default this is located in Start > All Programs > Accessories) and right-click it > Run as administrator
- When prompted "Do you want to allow the following program to make changes to this computer" click Yes
- Once Notepad opens click File > Open
- In the File name field enter "%systemroot%\system32\drivers\etc\hosts" > click Open
- Scroll to bottom of the document and add the following two new lines:
[IP of the web site] domain.tld
[IP of the web site] www.domain.tld - Click File > Save
- Locate Command Prompt (by default this is located in Start > All Programs > Accessories) and right-click it > Run as administrator
- When prompted "Do you want to allow the following program to make changes to this computer" click Yes
- Once Command Prompt opens enter "ipconfig /flushdns" without quotes and press Enter
- Open a new web browser window (simply opening a new tab in a browser already opened may not suffice)
- Test your site by navigating to http://www.domain.tld
Important: It's recommended that you verify you are testing the correct site by looking for content or design changes that would only exist on the new site being tested.
Once you're done testing and to undo the changes, repeat all steps however in step 5 remove the two lines that were added.