473,657 Members | 2,763 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New ASP.NET proj/multiple IIS Websites

On a Windows 2003 Server machine that has multiple IIS web
sites, how does one control which web site the new web
application gets created under?

Thank you,
Sammy

Nov 19 '05 #1
5 1643
You are not alone. I have been wading through the docs myself for the last
few hours trying to understand this better as well. I don't get why this
would be so find documentation on.

- Ron

"Sammy" <sa***@picostat ion.com> wrote in message
news:0a******** *************** *****@phx.gbl.. .
On a Windows 2003 Server machine that has multiple IIS web
sites, how does one control which web site the new web
application gets created under?

Thank you,
Sammy

Nov 19 '05 #2
Not sure, but this might help you with that setup:

Configuring IIS6 for Team Development

http://weblogs.asp.net/kevinha/archi.../06/48077.aspx

"Sammy" <sa***@picostat ion.com> wrote in message
news:0a******** *************** *****@phx.gbl.. .
On a Windows 2003 Server machine that has multiple IIS web
sites, how does one control which web site the new web
application gets created under?

Thank you,
Sammy


Nov 19 '05 #3
I found this article as well:

http://support.microsoft.com/default...b;en-us;320265

I intend to try this technique as soon as I configure my Dev. web server. I
finally found a note buried in the VS.NET readme about configuring a
separate web Server Computer:

http://support.microsoft.com/default...312779/EN-US/?

I hate when this info is buried in the read me files, especially since I
have had VS.NET installed for a long time now but not used it for serious
ASP.NET development until now.
"Sammy" <sa***@picostat ion.com> wrote in message
news:0a******** *************** *****@phx.gbl.. .
On a Windows 2003 Server machine that has multiple IIS web
sites, how does one control which web site the new web
application gets created under?

Thank you,
Sammy

Nov 19 '05 #4
Since IIS does a great job with host headers, I skip the virtual directory
approach altogether. If I'm creating a new website, called "foo.com", my
new project setup approach is generally;

DNS config (internal)
+ Create new internal DNS entries pointing at the dev box, for convenience.
In the foo.com example, the two entries would typically be "foo"
(representing DEV), and "test.foo" (representing TEST).

DNS config (external)
+ Create new external DNS entries, pointing at production. Typically
"foo.com" and www.foo.com in the above example.
+ Optionally, create new entries for TEST and DEV, e.g. "test.foo.c om", and
"dev.foo.co m", for client access. Point these as the DEV and TEST boxes.

Webserver configuration
+ Create new directories, usually c:\inetpub\dev\ foo.com,
c:\inetpub\test \foo.com, c:\inetpub\prod \foo.com
+ Create a new website (not a new virtual directory) on the server.
Typically I create three versions, one each for DEV, TEST, and PROD. They
point at the directories identified above. The hostheader for DEV is "foo";
the hostheader for TEST is "test.foo", and the hostheaders for PROD are
"foo.com" and www.foo.com.

Project creation
+ Create the project. Identify http://foo as the develoment site, locate
its network directory (e.g. \\devserver\ine tpub\dev\foo.co m). All is good.

I've settled on this approach for a lot of reasons;

+ Easy to work with. Anyone on the network can type "foo" in their browser
and arrive at the DEV site, or "test.foo" and arrive at the TEST site.
That's convenient.
+ Easier to move sites across servers when necessary. Simply update the
DNS and the project files weather it reasonably well.
+ Avoids virtual directories completely. Virtual directories always seemed
a bit of an anomaly to me, because I'd rather setup a website called
"foo.mydomain.c om" than www.mydomain.com/foo. It makes more sense to me, I
get to have multiple domain names for the same site; it generally feels more
flexible.

Food for thought;

/// M
"Sammy" <sa***@picostat ion.com> wrote in message
news:0a******** *************** *****@phx.gbl.. .
On a Windows 2003 Server machine that has multiple IIS web
sites, how does one control which web site the new web
application gets created under?

Thank you,
Sammy

Nov 19 '05 #5
Where did you learn this method?

"MWells" <outbound__at_s ygnal.com> wrote in message
news:uV******** ********@tk2msf tngp13.phx.gbl. ..
Since IIS does a great job with host headers, I skip the virtual directory
approach altogether. If I'm creating a new website, called "foo.com", my
new project setup approach is generally;

DNS config (internal)
+ Create new internal DNS entries pointing at the dev box, for
convenience.
In the foo.com example, the two entries would typically be "foo"
(representing DEV), and "test.foo" (representing TEST).

DNS config (external)
+ Create new external DNS entries, pointing at production. Typically
"foo.com" and www.foo.com in the above example.
+ Optionally, create new entries for TEST and DEV, e.g. "test.foo.c om",
and
"dev.foo.co m", for client access. Point these as the DEV and TEST boxes.

Webserver configuration
+ Create new directories, usually c:\inetpub\dev\ foo.com,
c:\inetpub\test \foo.com, c:\inetpub\prod \foo.com
+ Create a new website (not a new virtual directory) on the server.
Typically I create three versions, one each for DEV, TEST, and PROD. They
point at the directories identified above. The hostheader for DEV is
"foo";
the hostheader for TEST is "test.foo", and the hostheaders for PROD are
"foo.com" and www.foo.com.

Project creation
+ Create the project. Identify http://foo as the develoment site, locate
its network directory (e.g. \\devserver\ine tpub\dev\foo.co m). All is
good.

I've settled on this approach for a lot of reasons;

+ Easy to work with. Anyone on the network can type "foo" in their
browser
and arrive at the DEV site, or "test.foo" and arrive at the TEST site.
That's convenient.
+ Easier to move sites across servers when necessary. Simply update the
DNS and the project files weather it reasonably well.
+ Avoids virtual directories completely. Virtual directories always
seemed
a bit of an anomaly to me, because I'd rather setup a website called
"foo.mydomain.c om" than www.mydomain.com/foo. It makes more sense to me,
I
get to have multiple domain names for the same site; it generally feels
more
flexible.

Food for thought;

/// M
"Sammy" <sa***@picostat ion.com> wrote in message
news:0a******** *************** *****@phx.gbl.. .
On a Windows 2003 Server machine that has multiple IIS web
sites, how does one control which web site the new web
application gets created under?

Thank you,
Sammy


Nov 19 '05 #6

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

Similar topics

16
6889
by: lostinspace | last post by:
Is it possible? TIA
9
2298
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test server from the 1st machine, but I receive an 'HTTP/1.1 500 Internal Server error" from my Web Server. My userid/password are the same on all 3 machines.
2
2265
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver in any place other than the default website? I do not want to install it there as our IIS has multiple websites, but nowhere is there an option when creating the install package in Visual Studio to specify what website on the server you want to...
9
2765
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and wizards. But, I have found that trying to do something "outside the norm" adds a rather large level of complexity and/or data replication. Background I have been commissioned to create a web-based application for a client. It has a formsaunthentication...
6
1951
by: Steve Mauldin | last post by:
I have three websites that were developed by using the same code in .net. They are all located under wwwroot on my desktop running windows 2000 pro.because Windows 2000 pro only supports a single Default Web Site I have to switch the IIS path to test the code on my own box. Once I boot up, I change the path on the Default Web Site in the Internet Services Manager to point to project A and I start up the IDE and I select project A to edit...
0
1474
by: CNN_news | last post by:
I would like to run multiple instances of TYPO3 (a cms written in PHP) on a single server. You can run multiple websites in two methods: multisite or multiple instances. In multiple instance, each instance uses the same source files but has its own database and private file storage area.
9
4288
by: moondaddy | last post by:
I'm using asp.net 2.0 and c# and would like to share some user control between several websites. these websites are on the same server and have a physical location right next to each other like this: D:\Websites\Website1 D:\Websites\Website2 I'm thinking of putting the controls for sharing in a common directory like this: D:\Websites\CommonControls
3
4526
by: teddarr | last post by:
I have a Windows Server 2003. I am trying to run multiple websites on the server. I have 3 different websites I'd like to run. Currently the default website is working but no others. All the domains have an a record pointing to the network router. The router is conficured correctly to send all website requests to my server. One the server and for each website I went to the IIS manager on the Websites tab and have the IP address set...
0
2439
by: teddarr | last post by:
I have a Windows Server 2003. I am trying to run multiple websites on the server. I am using host headers to run the websites on only one ip address. Before anyone says this is an iis issue and in the wrong forum, Please note that I have tested all the host header settings with a simple hello world html file and everything works great. I get a runtime error that tells me to change custom errors to "Off". The main problem is that custom...
0
8394
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7327
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6164
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4152
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.