Skip to content

Instantly share code, notes, and snippets.

@vespertilian
Last active April 6, 2016 12:21
Show Gist options
  • Save vespertilian/4c09946f7cfc37396c5f42d210254649 to your computer and use it in GitHub Desktop.
Save vespertilian/4c09946f7cfc37396c5f42d210254649 to your computer and use it in GitHub Desktop.
Host file for accessing local iis
  1. Open notepad as an administrator
  2. Edit the host file at c:\windows\system32\drivers\etc\hosts
  3. Add the current ip address
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
# Camerons Machine
10.12.4.208 flexclient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment