Skip to content

Instantly share code, notes, and snippets.

@BionicClick
Last active August 29, 2015 14:07
Show Gist options
  • Save BionicClick/c996cd2202ed431e1e06 to your computer and use it in GitHub Desktop.
Save BionicClick/c996cd2202ed431e1e06 to your computer and use it in GitHub Desktop.

How to force your Web Browser to use a set IP to view a website

  1. Locate the HOSTS file on your computer. Typically it is in one of the following locations: *Windows NT/2000/XP/2003/Vista/7 - C:\windows\system32\drivers\etc\hosts *Windows 95/98/Me - C:\windows\hosts

  2. Open this file with a text editor such as Notepad or Wordpad.

  • Right-click on Notepad and select the option to Run as Administrator - otherwise you may not be able to open this file.

https://kb.mediatemple.net/questions/61/How+can+I+test+or+preview+my+website+before+switching+DNS%3F#gs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment