yeh i have tried this before and cant get it to work with my setup... apache starts fine, but sub domains dont work. i use name based vhost on a dns name i get from servehttp.com so i am basically already on a subdomain. but if you read the docs a subdomain should alow for another subdomain below it. like my url is somesite.servehttp.com and i want mail.somesite.servehttp.com it should work, but it points to the wrong ip. any ideas? also i run a mail server on my server, and it runs on port 8080 its a self contained webmail server is it posible to use name based vhosting like mail.somesite.servehttp.com to point to somesite.servehttp.com:8080 ?
i have looked but don't think its possible
ok lets try this..
first of all u need wildcards enebled so that mail.somesite.servehttp.com works.... if ur provider does not allow that u shold switch to http://www.no-ip.com
geting apache to pint to port 8080 is easy just use the buildin proxy for that here an example
CustomLog /blabla/log/access.log combined
ProxyPass / http://mail.somesite.servehttp.com:8080/
ProxyPassReverse / http://mail.somesite.servehttp.com:8080/
that should to it
greetz form germany