Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
Configuration: 32-bit Windows 7 development machine with IIS 7.5

I created a new web site in IIS to host only MVC sites called MVCHOST. The physical path to this website is set as C:\inetpub\mvcroot. I created a new v4.0 pool called mvcpool for this purpose.

I have given Modify rights to IIS_WPG, IIS_IUSRS, ASPNET accounts.

I created this web site with a host header "mvchost" and port 80, in the hopes of browsing MVC sites in the following way:

  1. mvchost/mvcapp1
  2. mvchost/mvcapp2

instead of

  1. localhost/mvcapp1
  2. localhost/mvcapp2

The only binding I set is the default one: http:*:80:mvchost. I have also copied the files iisstart.htm, web.config, welcome.png and folder aspnet_client from wwwroot over to mvcroot.

Now when I try to the browse this site from IIS manager, I get the following error:

This webpage is not available

If I leave out the host header and give some port, say 99, I can access this website at localhost:99.

What am I missing here? Why am I unable to access the web site at: http://mvchost/?

share|improve this question
Don't you need a dns record for "mvchost"? – Amiram Korach Nov 14 '12 at 10:50
@AmiramKorach: I am not aware of this, thanks for pointing this out. I guess I would need to contact the network people for getting a dns record created. – Animesh Nov 14 '12 at 10:59
You can also override it localy for testing… – Amiram Korach Nov 14 '12 at 11:05
I am generally aware of hosts file, but in this case I have no clue how to modify it so that mvchost can be accessible. – Animesh Nov 14 '12 at 11:36
I added an entry mvchost as an entry at the bottom and now I am able to access http://mvchost/ – Animesh Nov 14 '12 at 11:46
up vote 1 down vote accepted

In addition to all these settings you need to define a dns entry in the dns server with the mvchost name

share|improve this answer
What additional help would this do, if I am already able to do it locally? Would it let other people in LAN access it as such? – Animesh Nov 15 '12 at 4:37
Yes, but it depends on some other things like firewall settings. – Amiram Korach Nov 15 '12 at 8:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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