This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hostname in HTTP request does not match the server name

I'm running behind 80.101.128.167. Badkey Corner

Now I use a forward rule 80 to an internal address, but I want to use the 
Astaro Web Application Firewall @Badkey.com
Badkey Corner | Astaro Web Application Firewall @Badkey.com

So created a virtual badkey.com Domain and a real Web Server 

Virtual
domains: badkey.com
Interface: External WAN Adress
Port: 80
Connected to: Real WebServer Badkey

Real
host: nldbsnrk08 (internal adress private space)
type: Plain (HTTP)
Port: 80

Testing with:
Enable HTML rewriting and Pass Host Header no solution

I get the error, 
2011:12:07-23:28:01 firewall reverseproxy: [Wed Dec 07 23:28:01 2011] [error] [client 80.101.128.167] Hostname in HTTP request does not match the server name

What can be wrong ?


This thread was automatically locked due to age.
Parents Reply Children
  • I use badkey.com, but also tried Badkey Corner

    Virtual
    domains: badkey.com
    Interface: External WAN Adress
    Port: 80
    Connected to: Real WebServer Badkey

    Error on page is:
    Forbidden
    You don't have permission to access / on this server.
  • How do you called badkey.com?

    badkey.com or Badkey Corner


    I also tried Badkey Corner and even nldbsnrk08.badkey.com

    Still,
    011:12:09-18:33:13 firewall reverseproxy: [Fri Dec 09 18:33:13 2011] [error] [client 88.131.106.22] Hostname in HTTP request does not match the server name
    2011:12:09-18:33:13 firewall reverseproxy: srcip="88.131.106.22" localip="192.168.81.100" size="199" user="-" host="88.131.106.22" method="GET" statuscode="403" reason="-" extra="-" time="853" url="/db/canada.nsf/(nextDocument)" server="nldbsnrk08.badkey.com" referer="-" cookie="-" set-cookie="-"

    192.168.81.100 is firewall behind my router.  

    Help would be nice...