You are on page 1of 1

a2enmod rewrite

$ sudo a2ensite jenkins


$ sudo a2dissite default
$ sudo service apache2 reload
a2enmod proxy
a2enmod proxy_http

service apache2 restart

<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ProxyPass "/" "http://34.93.149.109:3000/"
ProxyPassReverse "/" "http://34.93.149.109:3000/"
ServerName bulkemail.shreemaruthi.co.in
ServerAlias www.bulkemail.shreemaruthi.co.in
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
</VirtualHost>

<VirtualHost *:80>
ServerName bulkemail.shreemaruthi.co.in
ServerAdmin admin@shreemaruthi.co.in
DocumentRoot /var/www/html/lists

</VirtualHost>

https://stackoverflow.com/questions/8541182/apache-redirect-to-another-port

You might also like