Search our database

How to edit the ‘hosts’ file on Windows 7?

Step 1 : Go to “Start Menu” and key in ‘notepad’ in the ‘search box’.

Step 2 : Right click on ‘Notepad’ and select ‘Run as administrator’. Pop up windows will show up and just select ‘Yes’.

Step 3 : Click on File menu and select Open.

Step 4 : Copy and paste the path URL as below,


Step 5 : Select ‘All Files (*.*)

Step 6 : Select the ‘hosts’ file and click on Open button.

Step 7 : Add the new ip address and your domain name as the example below to test viewing your site on the new server and then save it.

Tags: , , ,