I'm working with Apache 2.2.11 on Windows (using the WAMP install). The Server's IP is for example 184.108.40.206. My main Apache install (apache1) is listening on port 80 and serves a website (www.domain1.com). We recently installed an application that has a web publishing feature, which internally uses apache (apache2). I have configured that application to listen on port 3000. I want to serve this second application via the domain name (something.domain2.com).
Now I have setup both the DNS entries to point to the same IP. However I was trying to configure the main apache instance (apache1) to redirect any requests for something.domain2.com on port 80 to something.domain2.com:3000 (so that it can be taken over by apache2). The VirtualHost configuration I tried first was
ServerName something.domain2.com Redirect 301 / http://something.domain2.com:3000/
This does not work. Any ideas?