|
Home > Archive > IIS Server > January 2005 > IIS on Windows 2000 Server
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 |
IIS on Windows 2000 Server
|
|
| Paul Bhupal 2005-01-28, 2:47 am |
| I wish to have Computer A serving web app running on B computer.
Computer A(192.168.2.41): Is the computer that is
running number of web sites controlled by host
headers.
Computer B(192.168.2.45): Is running the web App. On its own it is working.
I can access it from the LAN using IP address(.45) or computer name. I do have
the option to run this web app on other ports as well. I am currently
running it on port:8080.
my current setup is:
www.mysite.com resolves to correct external IP address
External traffic is being routed to port 80 via my router to
Computer A ip address(.41).
How can I setup host header information on computer A to access the web app
that is running on computer B? Can it be done? I have one external IP
address and two internal addresses that are behind a router.
Thanks for any help.
| |
| John Cesta 2005-01-28, 7:52 am |
| On Thu, 27 Jan 2005 20:39:01 -0800, "Paul Bhupal" <Paul
Bhupal@discussions.microsoft.com> wrote:
>I wish to have Computer A serving web app running on B computer.
>
>
>Computer A(192.168.2.41): Is the computer that is
>running number of web sites controlled by host
>headers.
>
If the web site is defined on computer A you could simply set the
root folders for the app to computer B.
John Cesta
The CPU Checker - Monitors your CPU % while you sleep
LogFileManager - IIS LogFile Management Tool
WebPageChecker - Helps Maintain Server UpTime
DomainReportIt PRO - Helps Rebuild IIS
http://www.serverautomationtools.com
>
>Computer B(192.168.2.45): Is running the web App. On its own it is working.
>I can access it from the LAN using IP address(.45) or computer name. I do have
>the option to run this web app on other ports as well. I am currently
>running it on port:8080.
>
>
>my current setup is:
>www.mysite.com resolves to correct external IP address
>
>External traffic is being routed to port 80 via my router to
>Computer A ip address(.41).
>
>How can I setup host header information on computer A to access the web app
>that is running on computer B? Can it be done? I have one external IP
>address and two internal addresses that are behind a router.
>
>Thanks for any help.
| |
| Kristofer Gafvert 2005-01-29, 7:47 am |
| Hi Paul,
My understanding of your post is that you want to access copmuter B's web
application from Internet. Is this correct?
If so, this is not possible with host headers, unless your router has this
capability. Routers usually understand only IP and port. And what you want
to do is forward the request to an internal machine based on host header.
Usually you can solve this using a reverse proxy. ISA Server can do this,
and there are third-party products as well. Octagate has a product, and
they also have a very good picture explaining how this works:
http://www.octagate.com/HTTPRedirect.asp
IIS cannot act as a reverse proxy (i suppose you could write an ISAPI
filter for this purpose).
Hope this answers your question.
--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
Paul Bhupal wrote:
> I wish to have Computer A serving web app running on B computer.
>
>
> Computer A(192.168.2.41): Is the computer that is
> running number of web sites controlled by host
> headers.
>
>
> Computer B(192.168.2.45): Is running the web App. On its own it is
working.
> I can access it from the LAN using IP address(.45) or computer name. I
do have
> the option to run this web app on other ports as well. I am currently
> running it on port:8080.
>
>
> my current setup is:
> www.mysite.com resolves to correct external IP address
>
> External traffic is being routed to port 80 via my router to
> Computer A ip address(.41).
>
> How can I setup host header information on computer A to access the web
app
> that is running on computer B? Can it be done? I have one external IP
> address and two internal addresses that are behind a router.
>
> Thanks for any help.
|
|
|
|
|