Access Preview instance under Windows 10¶
Follow the instructions below to edit your hosts file if you are running Windows 8 or Windows 10.
Edit Hosts file¶
A. Use a host file editor¶
The tool Hosts File Editor allows you to easily update your hosts file in a very intuitive way.
B. Edit the host file with notepad¶
- Select the Start key and locate Notepad. (If you do not see it on your current Start page, begin typing “Notepad” and a search box will appear on the right side of the screen with a list of programs under it. Notepad should be at the top of this list.
- Right click on Notepad. You will see options appear on the bottom portion of the Start Page.
- Select Run as administrator.
Note: Performing this action may cause Windows User Account Control to prompt you with a warning or, if you are logged in as another user, a request for the Administrator password. This step is necessary to modify system files such as the hosts file.
- Click File in the menu bar at the top of Notepad and select Open.
- Click the dropdown box in the lower right hand corner that is set to Text Documents (
*.txt) and select All Files (
- Browse to
C:\Windows\System32\Drivers\etcand open the
- Make the needed changes, as shown above, and close Notepad.
- Save when prompted.
As a general rule, every time the hosts file is modified, it is recommended that you flush your DNS so that the new changes can be implemented more swiftly.
On most OS, rebooting the computer is the easiest way. However, DNS flushing can also be done manually using command line: