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:
<a style='text-decoration: underline;' href="http://www.octagate.com/HTTPRedirect.asp" target="_blank">http://www.octagate.com/HTTPRedirect.asp</a>
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
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>
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:
> <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> 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.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: IIS on Windows 2000 Server