473,493 Members | 4,355 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can you have multiple website on IIS6 to use one global.asa


Hi, This my problem, we are migrating our intranet from IIS5 to IIS6 an
have decided to split various sections of the intranet to seperat
domain hosts,

e.g. we had:
www.intra.domain.com

BUT NOW HAVE:
depts.intra.domain.com
www.intra.domain.com
apps.intra.domain.com

My question is we now have all these hosts running off the same IIS
and with unique host headers, but we want them to share just the on
global.asa file not have their own individual global.asa file.

Cheers
Mark
-
nomad
-----------------------------------------------------------------------
Posted via http://www.webservertalk.co
-----------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message423230.htm

Jul 19 '05 #1
1 1812
The usage of global.asa does demand that the file exists in the root of the
application, so that makes things a bit difficult. One thing that you
~could~ do is:

Site 1:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site1.asp

Site 2:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site2.asp

Site 3:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site3.asp

Site 4:
Home Directory: D:\Inetpub\wwwroot
Default Doc: site4.asp

And then each site has virtual directories to where the subdirectories
really are for that site. But, I really don't think that I'd consider doing
this, because someone could go to www.site1.com/site2.asp and get a bit
confused. You could of course put in some redirect code in each site*.asp
file to prevent that. Doing this would allow you to have one global.asa
file in D:\Inetpub\wwwroot.

Personally, I'd use four independent global.asa files instead of trying to
cross-breed your sites. How often do you change your global.asa file? It's
not like it's something that should be changed every day like a "what's new"
page. So, I'd either make the distribution of your global.asa an
operational procedure in your company or use a file synchronizing utility to
distribute automatically.

Ray at work
"nomad7" <no***********@mail.webservertalk.com> wrote in message
news:no***********@mail.webservertalk.com...

Hi, This my problem, we are migrating our intranet from IIS5 to IIS6 and
have decided to split various sections of the intranet to seperate
domain hosts,

e.g. we had:
www.intra.domain.com

BUT NOW HAVE:
depts.intra.domain.com
www.intra.domain.com
apps.intra.domain.com

My question is we now have all these hosts running off the same IIS6
and with unique host headers, but we want them to share just the one
global.asa file not have their own individual global.asa file.

Cheers
Mark S

--
nomad7
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message423230.html

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2296
by: Adam Short | last post by:
I'm having all sorts of problems with Sessions, I've been using them for years with out a hitch, all of a sudden the last 6 - 12 months since getting our new Win2003 server it's all gone shakey!!!...
0
337
by: news.microsoft.com | last post by:
I copied a modified version of the IBuyspy portal to a Windows XP Pro box with IIS6. I get the error stated in the subject of this message. Can anyone tell me how to fix this?
3
1278
by: Jason Shohet | last post by:
I had to go to our server room and put a new version of a .NET website into production -- simply copying over newer pages. I've done it hundreds of times on 2000 servers. This was my first time...
3
2600
by: deja | last post by:
Hi, In IIS6, is there a way to reset an individual web application rather than the whole IIS? Does that happen when you change something in Web.config and save it? Thanks, Chumma Dede
6
4957
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
0
1384
by: Nabeel | last post by:
Our website application has been hosted on a Windows 2003 server(it's a development server) result on a 404 not found error. We tried all the possible configuration , but it couldn't help us to...
5
1874
by: vikram | last post by:
I am developing a display web site which displays several listing and details, data is picked up from database for the lists. There is no search criteria but only pagination stuff. What i am...
0
2578
by: cit42 | last post by:
Hallo, I created an MSI with VS2005 "web setup project". And I want to specify the IIS6-destination-website (i don't know if this term is correct), where my website should be installed, by...
3
6261
by: =?Utf-8?B?SGVyYg==?= | last post by:
I've developed an ASP.NET website that runs fine on my local WinXP IIS and on my server's IIS, both are IIS6.0 The site uses a master page that has the following declaration: <%@ Master...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6980
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.