Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide my website port number on website url [closed]

My website has implemented by using JAVA. So we have taken VPS and installed Tomcat then deployed My website is appearing like this

whenever I click www.mysite.com in url ... it is appearing as below.

http://mysite.com:8080/foldername/

But I would like to see my website as www.mysite.com

Can any one suggest me what to do .. should I do any changes in htaccess file ?

like image 971
user2793170 Avatar asked Feb 04 '26 17:02

user2793170


1 Answers

If you don't provide the port number in the URL your HTTP requests would be sent to port 80. You can set up a firewall rule to redirect requests headed towards port 80 to 8080.

like image 61
The Governor Avatar answered Feb 06 '26 13:02

The Governor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!