How to test your website using the host file on windows 7?

Step 1: Search for notepad in the search function
Step 2: Right click notepad and select “Run as administrator”.
Step 3: Once done, open up the following file using File > Open feature
Step 4: run the cmd c:\windows\system32\drivers\etc\hosts

Kb 9: How to test your website using the host file on windows 8 and 8.1?

Step 1: Click on the Windows Start button on the lower left, and Run.
Step 2: Type in the following: notepad c:\windows\system32\drivers\etc\hosts
Step 3: Press “OK”

Related Articles