How Can I Redirect Domain to Tomcat (localhost:8080)
Hello everyone, this has been asked before but with no clear answers. I used to have 3 websites hosted under freeBSD two with apache and one under Tomcat. I reached the one with tomcat through virtual hosts pointing to localhost:8080. I moved them to my mac to save some cash in my electricity bill but I haven't been able to figure out how to do the same under OS X Server. I know it works with the apache version that comes with OS X El Capitan but I want to use OS X Server.
Tomcat works fine, I can reach my tomcat website by typing www.mywebsite.zz:8080 or localhost:8080.
The other two websites work fine.
This is the old vhost configuration file content.
<VirtualHost *:80>
ServerName www.mywebsite.zz
ServerAlias mywebsite.zz
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
I read a post where someone was suggesting to create a new website with the UI Application and a pair of .conf .plist files where the .plist file links the .conf file that contains the virtual host settings but it didn't work, the domain keeps opening the default server website.
I would really appreciate any help.
iMac, OS X El Capitan (10.11.1), 21.5 inch mid 2011 12GB RAM