Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Multiple Websites...

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  how to allow iis to access a shared folder?  
Author Message
gruvn

External


Since: Aug 09, 2004
Posts: 1



(Msg. 1) Posted: Mon Aug 09, 2004 10:15 pm
Post subject: Multiple Websites...
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi,

I just got started administering a new server, and have a noob question and
would appreciate a point in the right direction (e.g. FAQ)

At my new organization, they have multiple websites on IIS 5, with each
website having multiple virtual directories. They were not aware that all of
their virtual directories were web accessible....

I guess I have a couple problems:
1) Only the data for one of the websites is accessible via
http://localhost/. For example, you can type http://localhost/site1/, and
access all of site1, including any of its virtual directories. However, you
cannot access site2, site3, site4 etc... Is site1 somehow the default? Is
there a way I can access the other sites via localhost?

2) What is the normal way for developing and testing a site prior to making
it live? In the past, I developed on one machine, then uploaded the finished
data to the server. Now it seems as though I need to develop on the server
itself, including testing dynamic pages (via the server), without actually
making them publicly accessible.

Any hints?

Thanks,
gruvn

 >> Stay informed about: Multiple Websites... 
Back to top
Login to vote
unknown

External


Since: Apr 11, 2004
Posts: 87



(Msg. 2) Posted: Tue Aug 10, 2004 6:59 am
Post subject: Re: Multiple Websites... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

First I'd start by cleaning up the Virtual Directories. Why not make your
job a little bit easier down the road now.

Second... If you are/have a network and you have a machine that your work on
you could give the Server an internal IP as well and set this up as your
test area. So if say your internal IP configuration is 192.168.0.0, you
could assign the server an IP of 192.168.0.1 and the rest of your internal
network would be on the same IP scheme and you would connect to the server
by <a style='text-decoration: underline;' href="http://192.168.0.1" target="_blank">http://192.168.0.1</a> from any internal computer on the network. You can
have multiple IPs on Windows 2000 Server/Pro.

--


Regards,

Carroll


"gruvn" <gruvn.DeleteThis@discussions.microsoft.com> wrote in message
news:EEF9EF68-2E0C-4EEC-921B-600ED8EA2FB4@microsoft.com...
 > Hi,
 >
 > I just got started administering a new server, and have a noob question
and
 > would appreciate a point in the right direction (e.g. FAQ)
 >
 > At my new organization, they have multiple websites on IIS 5, with each
 > website having multiple virtual directories. They were not aware that all
of
 > their virtual directories were web accessible....
 >
 > I guess I have a couple problems:
 > 1) Only the data for one of the websites is accessible via
 > <a style='text-decoration: underline;' href="http://localhost/." target="_blank">http://localhost/.</a> For example, you can type <a style='text-decoration: underline;' href="http://localhost/site1/," target="_blank">http://localhost/site1/,</a> and
 > access all of site1, including any of its virtual directories. However,
you
 > cannot access site2, site3, site4 etc... Is site1 somehow the default?
Is
 > there a way I can access the other sites via localhost?
 >
 > 2) What is the normal way for developing and testing a site prior to
making
 > it live? In the past, I developed on one machine, then uploaded the
finished
 > data to the server. Now it seems as though I need to develop on the
server
 > itself, including testing dynamic pages (via the server), without actually
 > making them publicly accessible.
 >
 > Any hints?
 >
 > Thanks,
 > gruvn<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Multiple Websites... 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 3) Posted: Tue Aug 10, 2004 12:34 pm
Post subject: Re: Multiple Websites... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"gruvn" <gruvn DeleteThis @discussions.microsoft.com> wrote in message
news:EEF9EF68-2E0C-4EEC-921B-600ED8EA2FB4@microsoft.com...
 > Hi,
 >
 > I just got started administering a new server, and have a noob question
and
 > would appreciate a point in the right direction (e.g. FAQ)
 >
 > At my new organization, they have multiple websites on IIS 5, with each
 > website having multiple virtual directories. They were not aware that all
of
 > their virtual directories were web accessible....
 >
 > I guess I have a couple problems:
 > 1) Only the data for one of the websites is accessible via
 > <a style='text-decoration: underline;' href="http://localhost/." target="_blank">http://localhost/.</a> For example, you can type <a style='text-decoration: underline;' href="http://localhost/site1/," target="_blank">http://localhost/site1/,</a> and
 > access all of site1, including any of its virtual directories. However,
you
 > cannot access site2, site3, site4 etc... Is site1 somehow the default?
Is
 > there a way I can access the other sites via localhost?

One of three things must be unique for each site: host name, IP, or Port.
So to access every site using localhost, you'll have to assign other ports
to site2, site3, etc., such as <a style='text-decoration: underline;' href="http://localhost:82" target="_blank">http://localhost:82</a> for site2 ...

 > 2) What is the normal way for developing and testing a site prior to
making
 > it live? In the past, I developed on one machine, then uploaded the
finished
 > data to the server. Now it seems as though I need to develop on the
server
 > itself, including testing dynamic pages (via the server), without actually
 > making them publicly accessible.

Setup another site on the server just for testing, either with a different
host header name or port.

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a>
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.iisfaq.com/" target="_blank">http://www.iisfaq.com/</a>
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://www.tryiis.com" target="_blank">http://www.tryiis.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Multiple Websites... 
Back to top
Login to vote
user1772

External


Since: Jun 10, 2004
Posts: 1807



(Msg. 4) Posted: Tue Aug 10, 2004 5:17 pm
Post subject: Re: Multiple Websites... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 9 Aug 2004 19:15:02 -0700, "gruvn"
<gruvn DeleteThis @discussions.microsoft.com> wrote:

 >I just got started administering a new server, and have a noob question and
 >would appreciate a point in the right direction (e.g. FAQ)

FAQ's are here:

<a style='text-decoration: underline;' href="http://www.iisfaq.com/" target="_blank">http://www.iisfaq.com/</a>

 >At my new organization, they have multiple websites on IIS 5, with each
 >website having multiple virtual directories. They were not aware that all of
 >their virtual directories were web accessible....
 >
 >I guess I have a couple problems:
 >1) Only the data for one of the websites is accessible via
 >http://localhost/. For example, you can type <a style='text-decoration: underline;' href="http://localhost/site1/," target="_blank">http://localhost/site1/,</a> and
 >access all of site1, including any of its virtual directories. However, you
 >cannot access site2, site3, site4 etc... Is site1 somehow the default? Is
 >there a way I can access the other sites via localhost?

Localhost only works on the physical server, so it really isn't
relevant anyway. If your server is using host headers, then only the
header for "localhost" will respond. If it's using separate IP's for
each site, then only the site configured to respond on 127.0.0.1 or
All Unassigned will answer. If you're using separate ports, then only
the site at port 80 will rerspond.

 >2) What is the normal way for developing and testing a site prior to making
 >it live?

Normal for who? Smile

 >In the past, I developed on one machine, then uploaded the finished
 >data to the server. Now it seems as though I need to develop on the server
 >itself, including testing dynamic pages (via the server), without actually
 >making them publicly accessible.
 >
 >Any hints?

Either way works. If you have a local web server to test scripting
such as ASP and .NET code on, then upload it to a production server,
fine. If you don't, you could use a test site created on the
production server and move the code when ready. You could even test
code on the production server in the live site and simply not link to
it or accept that users may see glitches. It all depends on your
needs, your abilities and your environement.

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Multiple Websites... 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]