Fedora Apache Virtual Host - How to make port redirect?
I am trying to set up port redirect on Apache2.2 using Fedora20 by Virtual Host.
I would like my domain to access localhost on port 3000 instead of 80.
This is just one example taken from tens of tries I did:
NameVirtualHost *:80 <VirtualHost *> ServerAdmin email@example.com ServerName mydomain.com ProxyPreserveHost On # setup the proxy <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ </VirtualHost>
When I'm trying to visit my website, all I'm getting is a 503 error.
I have to admit, that I'm not sure what exactly should I set for ServerAdmin and if it does any matter.
Have you got any ideas?