Reverse proxy question

Discussion in 'Apache' started by James Tilby, Sep 29, 2009.

  1. #1
    Hi all,

    Does anyone know how to solve this problem?

    Currently I am using Apache 2.2 as a reverse proxy server to an IIS server.

    For example, if someone enters the URL:

    name1.mycompany.com

    the reverse proxy sends them to the corresponding site for the subdomain name1 on IIS.

    However, if they enter a non-existent subdomain such as

    randomname.mycompany.com

    you get a Proxy Error.

    I would like instead to direct any such bad requests to a specific page served by the IIS server.

    Does anyone know how to configure this?

    Thanks in advance for any suggestions.

    James
     
    James Tilby, Sep 29, 2009 IP