CodePlexProject Hosting for Open Source Software
Here's a simple module to solve a recurrent and an annoying everyday task in IIS management: creating an entry in the Windows TCP/IP
Hosts file for every demo and test web site.
This module extends the IIS Manager UI in order to add an entry on request in the Hosts file located in
%SystemRoot%\System32\drivers\etc\hosts when a web site is created or its bindings are edited.
A full editor is also included in order to easily add/edit/remove entries in the Hosts file.
Requires IIS 7.0, 7.5 or 8.0 (developer preview).
MVP ASP.Net / IIS
Many thanks to Scott Forsyth for suggestions and testing!
Here are some screenshots on Windows 8 (on Windows 2008 / 2008 R2 is similar):
Add a new binding:
Edit an existing binding:
Hosts file editor:
Add Hosts File Entry form:
The generated Hosts file lines will look like the following one:
127.0.0.1 www.mytestsite.com # This is a comment
Last edited Oct 31, 2012 at 9:44 AM by alexp, version 16