Last post Oct 03, 2007 12:35 PM by Andrew.Hanson
Oct 03, 2007 10:57 AM|wadewalker25|LINK
So I have a folder, we'll call it z:\temp, on a remote server. In this z:\temp folder I have a subfolder named: MyBizView. I'd like to know how do I get IIS to run the subfolder as the root of the website? i.e. instead of typing in http://temp/mybizview.com,
I'd like to just type in http://mybizview.com?
Thanks in advance!
Oct 03, 2007 11:52 AM|wadewalker25|LINK
Here is why I'm asking the above question. I'm wondering if we could be doing our website better. We use VS2005; we have our main website, with other applications (websites) underneath the main website. Our problem is in our publishing of the website. Publishing
deletes all the files on the destination directory that are on the same level or underneath the level we're publishing too. The problem with this is, the level we're publishing too is our root directory. Also on this root directory is our other websites (which
in IIS we have them as applications under our root). For example:
Our folder structure is as follows:
z:\myBizView <- Main website
z:\website1 <- Another website that is in IIS put under the myBizView website
z:\website2 <- Another website that is in IIS put under the myBizView website
So, to get to website1, for example, in the browser one would type:
http://myBizView.com/website1 (this isn't a working website, just an example).
So now, if we make some changes to the myBizView website, we would have to publish the website to, for example, a local machine and then copy that to the z:\ drive, being careful not to overwrite website1 and website2. The reason is, if we were to just publish
directly to the z: drive then we would overwrite website1 and website2 because they are on the same level as myBizView. Does anyone have this same problem? What should we be doing differently. It seems as if you should be able to tell VS2005 exactly what to
publish to, and/or what to not overwrite...
Oct 03, 2007 12:35 PM|Andrew.Hanson|LINK
You should be able to updated the root file path in IIS Manager.