|
-
Apr 5th, 2001, 12:30 PM
#1
Thread Starter
Hyperactive Member
Dear all,
In IIS one can create a web site as well as a virtual directory. Whats the difference between both and when do u use them in which situation. Thanks in advance.
-
Apr 5th, 2001, 02:09 PM
#2
A virtual directory is basically a directory under your website that isn't necessarily directly under the root of your website ---- that was clear as mud.
Say your website is in the default wwwroot directory.
And say the URL for your website is http:\\bubba.com.
You want to add another directory to your website named pictures. This is a virtual directory : http:\\bubba.com\pictures.
The pictures directory can be under the wwwroot directory, or it can be another directory, even on another machine. The actual directory name does not even have to be "pictures".....that could just be the Web Share name you use when you set the directory up for web sharing.
-
Apr 5th, 2001, 05:30 PM
#3
Frenzied Member
Well, that answered half the question here's the other half:
Creating a web site creates a top level domain.
Let's say you have 3 web sites hosted on the same server (we're doing it now at VBGarage.com :c)
You would create three different sites. Each of which can be accessed without specifying any directory at all but all of which share the same IP.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Apr 6th, 2001, 12:26 AM
#4
Thread Starter
Hyperactive Member
Multiple web sites
Thanks a lot Monte and bubba.
But I was trying to create a new website on my Nt Server.
The default web site has the IP address 100.20.20.10 assigned to it.
According to monte the new website (named childstar) can also have the same IP address.
But when I tried this I got an error message saying that the IP address cannot be shared.
Can u guide me as to where I am going wrong.
Thanks in advance.
-
Apr 6th, 2001, 02:34 AM
#5
-
Apr 8th, 2001, 12:27 AM
#6
Frenzied Member
For IP Address leave it as 'All(Unassigned)'.
This makes the server determine from the URL line. Whatever site is in the actual wwwroot directory will take precedence if just the IP is used for the URL
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|