I have a dedicated server (Running centos, with Apache etc as a Web Server). With a domain name and subdomains all set up and working fine.
I would like to set up a new subdomain, eg: subdomain.domain.com to point at a different port running a web app.
The app listens on port 4040, and the behaviour I would like is - typing subdomain.domain.com results in the server resolving the query to my.ip:4040, so I don't need to navigate to subdomain.domain.com:4040.
Is this possible using Apaches vhost configuration?
If so? How do I do it?