IIS Server - application domain names using one application

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > September 2004 > application domain names using one application





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author application domain names using one application
Kieran

2004-09-29, 8:09 pm

Hi,

I'm having problems setting up the domain names on my iis server.
Through an admin console provided by my isp I can configure domain names
to point to different folders on my web space.

I have one application that based upon parameters builds a dynamic
website.

My questions is, how can I point the different domain names at the one
application, while still keeping the domain names for the seperate
sites?

So if I have 'site1.com' and 'site2.com' and the application that builds
these sites resides in a folder 'myapp', how can I get both sites to
point to 'myapp', with different parameters, whilst still keeping the
domain site1.com or site2.com as the url...

Thanks
Kieran



*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Ken Schaefer

2004-09-30, 10:46 am

The client browser will send a HTTP header called "host". Have your
application read in that value.

Or...

site1.com/myapp.exe?s=site1
site2.com/myapp.exe?s=site2

Cheers
Ken

"Kieran" <anonymous@devdex.com> wrote in message
news:O9aUUOhpEHA.3428@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I'm having problems setting up the domain names on my iis server.
> Through an admin console provided by my isp I can configure domain names
> to point to different folders on my web space.
>
> I have one application that based upon parameters builds a dynamic
> website.
>
> My questions is, how can I point the different domain names at the one
> application, while still keeping the domain names for the seperate
> sites?
>
> So if I have 'site1.com' and 'site2.com' and the application that builds
> these sites resides in a folder 'myapp', how can I get both sites to
> point to 'myapp', with different parameters, whilst still keeping the
> domain site1.com or site2.com as the url...



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com