application domain names using one application
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server > application domain names using one application




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    application domain names using one application  
Kieran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-30-04 01:09 AM

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!





[ Post a follow-up to this message ]



    Re: application domain names using one application  
Ken Schaefer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register