Step 1: Open Run from start menu in Windows.
Step 2: Search for Notepad.
Step 3: Right click on Notepad app icon, then “run as administrator”.
Step 4: Enter the following into the Notepad.
ServerIP yourwebsite.com
Example
127.0.0.1 mywebsite.com
Step 5: Save as the following filename and location
C:\Windows\System32\drivers\etc\hosts
Step 6: You can now view the website using any browser.
To verify that you are viewing the website from the expected IP, we recommend installing ShowIp on Chrome