Comments are closed for this post.
22 Nov 2006
I couldn't agree more ;) I blogged about the ability to add more than one site, and other nice additions in a recent blog post of my own here: http://blogs.iis.net/bills/archive/2006/10/23/How-I-fell-in-love-with-Vista-this-weekend-_2800_or-why-you_2700_re-gonna-love-IIS7_2F00_Vista-for-Web-development_2900_.aspx
03 Jan 2007
That feature is in Apache from day one. Isn't it?
03 Jan 2007
It's been in IIS a long time too - but only in the server versions until Vista.
29 May 2009
I was wondering if anyone could tell me the steps you need to take after installing IIS 7.0 on Vista that will enable your classic .asp pages to be viewed. I'll definitely be setting up multiple websites, but I can't seem to get things going. I've installed everything and have modified my HOSTS file and have set my page for the site to be Index.asp, but I'm getting this error: "HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid." I've always used IIS 5.0 and have worked with IIS 6.0 and have never had this problem, it's always been easy to set up. Thanks for the help!
12 Aug 2009
Adding additional websites to IIS7 is easy, but how do you connect to the additional websites from another computer. E.g. if my computer with IIS7 has IP 188.8.131.52, from another computer on the network I can just type in http://184.108.40.206
and get to the default website on my computer with IIS7. But how can I connect to other websites that I added into IIS7?
12 Aug 2009
Hi, really very interesting post!
I would ask somebody for a little question: I've on a Vista PC two web server IIS 7.0 and the emule webserver. This last one works on port 4711 and I want to leave it as it is.
I want to have a virtual folder or a virtual application to my IIS default site (i.e. http://localhost/emule
) that redirect it to my emule web server throught the port 80.
If I redirect my virtual folder "./emule" to http://localhost:4711
it works fine but throught the 4711 port.
I need to access it from an external workstation throught the internet that has ONLY port 80 open. But I cannot set the port 80 for emule server because my IIS has to expose other web applications.
How can do It?
Thanks in advance.
12 Aug 2009
Interesting post. I'm trying to set up multiple websites offline. Back in 2001 I learnt HTML/ASP/PWS and IIS (5 I think). Seeting up mulitple sites was simple.
After an 8 year gap it seems now that we have Vista and IIS7. Things seem to be a lots more complex:
- I need to know about ports
- I need to edit an external text file
- I need to adopt a "trick" to do something quite straightforward
I'm clearly not criticising the author (thanks for you help!) but am I missing something?
12 Aug 2009
OK, boy I was rusty but have learned something. Hopefully things get easier from here on in!
1) High level idea of solution:
a) The overall default page is at C:\inetpub\wwwroot\iisstart.htm
b) Make/store your multiple sites at:
etc, making your own names of course!
c) Create a new page C:\inetpub\wwwroot\index.htm
(or edit C:\inetpub\wwwroot\iisstart.htm)
** Note that you may not be able to edit and save to this folder directly. Save to another folder, then copy across - a nuisance **
d) In the above index.htm write HTML to point to the various start pages, for example:
<a href="folder1/index.htm">folder1/index.htm</a><br />
<a href="folder2/index.htm">folder2/index.htm</a><br />
2) Classic ASP error messages to the browser are turned off by default
a) They can only be turned on globally not on a site-by-site basis
b) This is not a huge problem when developing offline (see reference below for what to do) but online errors are now problematic; system administrators will not easily be persuaded to globally report errors in the browers since this is a security risk (but was allowed before IIS7?)
- Offline solution see below
- move to a dedicated server
- move to a ASP.NET or
- move to Linux + the LAMP environment
3) Numerous other unhelpful defaults
a) Under ASP icon in IIS7:
- set EnableParentPath to True (although consider security online/offline)
Under Debugging Proporties
- set Enable Client Side Debugging to True
- set Enable Server Side Debugging to True
- set Send Error Messages to Browser to True
Now for the really hard stuff:
P Durrant at http://forum.manifold.net/forum/x54784
after much random clicking i found that in the IIS settings under ASP --> services --> COM+ properties
Execute In MTA was set to false, i set this to true and everything lept into life
hope this helps
(Well done that man!)
06 Oct 2009
Thanks very much this has been mysterious to me for a long time, now delving into umbraco it becomes a necessity to run more than 1 website in the root. This post helps a lot & saves typing cryptic port numbers.
26 May 2010
Thanks Adryn, exactly what I've been trying to achieve for a long time. And it gives me the best of both worlds, ie simple local paths and accessible external ones. Cool.
10 Sep 2010
Thanks Josh, great post! This really cleared up a lot of things I had trouble understanding about IIS7....
21 Jan 2011
where is this host at 220.127.116.11 as i cannot seem to find it? dead end, you know-e
19 May 2011
my localhost2 keeps pointing to the default website, even if i've placed a totally new defaul.html in the new directory!
14 Dec 2011
You can assign ports and use same domain for multiple websites.
22 Dec 2011
But how do we make the site visible from other hosts?