IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 10th, 2004, 01:42 PM
jkrew_devshed jkrew_devshed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 105 jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 14 m 42 sec
Reputation Power: 22
Organizing multiple web sites and virtual directories

Simple question here,

I am configuring an IIS 5 server for the first time and am confused as to how to organize my "Web Sites" in the IIS Manager.

This machine will host multiple Web sites, and I would like to use virtual directories to shorten the urls. Simple enough.

What I don't understand is that example after example shows Web Sites, as in a group of files that compose a "site", nested inside the Default Web Site. Why the heck would you ever do that? I'm wondering if these examples I just mentioned are correct or are they misguided?

Secondly, when do I create the virtual directory and where do I place it? I would like to create a new Web Site that contains a virtual directory that points to the actual files. However, when I create a new Web Site through IISM, I have to specify what files make up the site, resulting finally in a Web Site that lists the files and the virtual directory that repeats that listing(after I add the virtual directory).

Here is all I'm looking to do:

c:\Inetpub\site1Folder referenced by alias in IISM
c:\Inetpub\site2Folder referenced by alias in IISM
etc etc


I realize I'm making this harder than it actually is, but this seems oddly illogical compared to editing an apache.conf file.

Thanks so much for any help!
__________________
"I'm between quotes right now"

Reply With Quote
  #2  
Old February 10th, 2004, 07:39 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
If you have a server version of windows, you can create multiple web sites. The Pro versions of windows only allows one web site.

Create the folder you want for the top of your new web.

Then right-click the default web site in IIS service manager and create a new virtual directory, during the wizard you will be able to browse to the folder you want to use.

Reply With Quote
  #3  
Old February 12th, 2004, 05:29 PM
jkrew_devshed jkrew_devshed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 105 jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 14 m 42 sec
Reputation Power: 22
I swear those exact steps did not work when I sent this post. Your steps worked for me yesterday, however.

Thanks for the response!

Reply With Quote
  #4  
Old February 12th, 2004, 07:17 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,717 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 40 m 34 sec
Reputation Power: 688
The never-ending mysteries of computing

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Organizing multiple web sites and virtual directories


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway