title: Using domain instead of IP in haproxy backend
body: <p>I have 2 virtual host </p>
  
  <p>app.example.com:80 on ip address <code>xxx.xxx.xxx.xxx</code></p>
  
  <p>app2.example.com:80 on ip address <code>yyy.yyy.yyy.yyy</code></p>
  
  <p>my haproxy ipaddress is <code>sss.sss.sss.sss</code></p>
  
  <p>This is haproxy configuration :</p>
  
  <pre><code>global
     log 127.0.0.1 local0 notice
     maxconn 2000
     user haproxy
     group haproxy
  
  defaults
    log     global
    mode    http
    option  httplog
    option  dontlognull
    retries 3
    option redispatch
    timeout connect  5000
    timeout client  10000
    timeout server  10000
  
  frontend www-http
      mode http
      bind *:80
      default_backend appname
      stats enable
      stats uri /haproxy?stats
      stats auth admin:password
      stats show-node
  
  backend appname
    balance roundrobin
    option httpclose
    option forwardfor
    server lamp1 app.example.com:80 check
    server lamp2 app2.example.com:80 check
  </code></pre>
  
  <p>When trying to access using haproxy ipaddress, web browser returns xampp dashboard instead of backend content.</p>
  
  <p>How can i make haproxy to redirect to backend content?</p>