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

Multiple sites, single application

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Bulk Update  
Author Message
Daves

External


Since: Mar 12, 2005
Posts: 5



(Msg. 1) Posted: Sat May 07, 2005 1:03 pm
Post subject: Multiple sites, single application
Archived from groups: microsoft>public>inetserver>iis (more info?)

(under ASP.Net)
when running multiple web sites with same code but different front-end and
content (database), I guess the common way is to have multiple hostings. I'm
wondering if somebody does it differently, like having one host (web
application) but different DB connection strings and MasterPage (2.0), set
somewhere in the Pre_Init event handler. This way you only pay for one
hosting and you only have to upload new/changed code once.

Is someone familiar and using with this "trick" ?

 >> Stay informed about: Multiple sites, single application 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Sat May 07, 2005 10:28 pm
Post subject: Re: Multiple sites, single application [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Depends on whether you own the website's bindings or not.

Suppose you pay for www.website1.com which hosts your web application that
has multiple front ends, one of which is supposed to handle www.website2.com

When someone types http://www.website2.com , how is that request going to
find its way to your multiple front end web application that answers to
www.website1.com?

If you control the website binding, you can simply add www.website2.com to
the binding, add your Pre_Init code (or however you are going to do this),
add DNS entry to point www.website2.com to the IP of your website, and it
should work.

If you do not control the website binding, then you need to figure out a way
to get that request to your multi front end web application.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Daves" <dbspam RemoveThis @simnet.is> wrote in message
news:%23WhFyUwUFHA.2468@TK2MSFTNGP10.phx.gbl...
(under ASP.Net)
when running multiple web sites with same code but different front-end and
content (database), I guess the common way is to have multiple hostings. I'm
wondering if somebody does it differently, like having one host (web
application) but different DB connection strings and MasterPage (2.0), set
somewhere in the Pre_Init event handler. This way you only pay for one
hosting and you only have to upload new/changed code once.

Is someone familiar and using with this "trick" ?

 >> Stay informed about: Multiple sites, single application 
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 ]