Hello, my server currently runs an Apache together with Tomcat. I am a bit new to this, what I really want is to hide or remove the port on my web pages hosted on the server. That is, it is currently as: dominio:8080
and I want it to appear: dominio.com
. Rambling on the web, I find that Apache runs on port 80 and Tomcat in 8080 that's why the port comes out. I read that one way to solve these is by configuring a proxy. I did it in the following way: I added this line in my file httpd.conf
in my Apache
ProxyPass / http://dominio.com:8080/
It works and everything but apparently only if I type the URL. If I search my page in Google for example, it comes out again with port 8080 :(. What would be the next step or what I need to configure?
Thank you very much
PD: connector of my port 8080 of my Tomcat:
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />