Discussion Locked

How to hide port no in url?

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We have website http://xyz.abc.com:7778/. I would like to hide the port no. It should look like http://xyz.abc.com/
I have made change in apache conf file.
ProxyVia On
ProxyPass /xyz.abc.com:7778/ http://xyz.abc.com/
It could not resolve the problem. Any other method to resolve this?
Thanks

10 replies

by timwalsh

No. Any time you have a wesite that is installed on other than the default HTTP port, the port number must be added to the URL in order to access it.

by matt_s

There is another option. I use a dynamic DNS service. One of the features of this service is port forwarding.

http://dynu.com

"Dynu Premium service now includes free port forwarding service! Use port forwarding to host websites on ports other than port 80 and let Dynu servers take care of forwarding traffic from port 80 to any port of your choice"

by cg it

another option is to use a host header name. Then they only type the name not the IP & port #

by erogers6

Another way, similar to one of the other replies is to configure your own firewall to reassign from port 80 on the outside to the real port on the inside. I am assuming here that your webserver is inhouse and you have a firewall.

This discussion is closed to new replies.