Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Given the latest version of IIS at the time of writing is IIS8, how would one go about adding a new site through the IIS manager, set up HTTP bindings, and test the setup in a browser?

This configuration assumes that the named domain in the HTTP binding "does not exist" on the internet, but is simply a local moniker for testing (such as and

For a little background, I have followed the tutorial on pluralsight as well as I can for the IIS 7.5 version of this very task, but upon attempting to access in my browser, I get a time out. Localhost however does work.


locked by HopelessN00b Jan 21 at 22:53

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as not a real question by mgorven, Greg Askew, mdpc, Ward, Khaled Feb 12 '13 at 8:22

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

If your objective is to test the site then what does it matter if you test it via localhost or You're testing the site, not DNS. – joeqwerty Feb 12 '13 at 2:14
@joeqwerty - there are things that you need accurate DNS resolution to test on a website; for example redirecting to a canonical domain, or serving different content for different domains, or even I18N -,,, etc – Mark Henderson Feb 12 '13 at 8:28
Mark - True. I considered that but as the OP didn't provide a lot of detail about the nature of the testing I didn't elaborate. As it is, if I want to test a web site I can certainly do that with localhost. If I need the kind of testing that you elaborated on then DNS resolution is certainly needed. – joeqwerty Feb 12 '13 at 13:54
I think the key here was "Test the HTTP Bindings" that for some reason I only placed in the title, and not in the actual body of the question. – Firoso Feb 12 '13 at 17:58

1 Answer 1

We have no idea what the "tutorial on pluralsight" is, but the quickest and dirtiest way to achieve this is to edit your hosts file.

On any modern version of Windows, this is at %WINDIR%\System32\drivers\etc\hosts

Add a new line to the end of the file that reads:

(where is whatever you're trying to test).

You will probably need to run Notepad as Administrator to edit the file.

I actually did this very thing, exists as a single line, space delimited, in my hosts file. – Firoso Feb 12 '13 at 17:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.