This is otput from console (Debian 6 min.):
wget http://127.0.0.1:8080/subdomain/ --header "host: subdomain.mydomain.com" --debug
DEBUG output created by Wget 1.12 on linux-gnu.
--2011-11-23 17:04:15-- http://127.0.0.1:8080/subdomain/
Connecting to 127.0.0.1:8080... connected.
Created socket 3.
Releasing 0x08dfc180 (new refcount 0).
Deleting unused 0x08dfc180.
---request begin---
GET /jaspresso/ HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
host: subdomain.mydomain.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 400 Bad Request
Server: Apache-Coyote/1.1
Date: Wed, 23 Nov 2011 17:04:15 GMT
Connection: close
---response end---
400 Bad Request
Closed fd 3
2011-11-23 17:04:15 ERROR 400: Bad Request.
Strange... What could it be?