09-30-04 03:46 PM
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...
[ Post a follow-up to this message ]
|