Forum Moderators: phranque

Message Too Old, No Replies

Port number on URL

         

cezuk

12:28 pm on Oct 12, 2007 (gmt 0)

10+ Year Member



I'm after a bit of advice...

I have a virtual server via a web hosting package. To connect to the servers GUI (ie, the administrator panel) I have to enter the servers IP address with the port number at the end, as such:

111.111.111.111:1085

This is fine at home, but Ive recently discovered most ports are blocked on my works firewall and so I can't connect to anything that needs a port number specifying.

So my question is - is there a way of eliminating the need for my PC, the companies Proxy server and the companies Firewall to know it needs to be accessed via a seperate port? Perhaps for me to access the server via port 80, and let my server do the background work to get the data from port 1085?

My ideal situation would be to be able to just enter it as www.example.com/adminpanel or something similar. Failing that, a subdomain (admin.example.com) or even a completely seperate domain name if thats what it takes?

Is this even possible? If yes, could you give any tips? Perhaps even a couple of phrases to search on on Google to find the answer. I'm struggling at the moment because I think I'm using the wrong terminology to explain what I'm after - plus I'm not even sure if its possible!

jdMorgan

1:10 pm on Oct 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In theory, you could set up a reverse proxy on your server, so that /adminpanel requests are proxied through the port 80 connection to the port 1085 connection (see Apache mod_proxy, reverse-proxy info). However, this option is only available if you have access to the server configuration files such as httpd.conf or conf.d. If your account is a simple name-based virtual server (shared hosting) account, then it's very unlikely you will have access to these files.

Another possibility would be to use a third server (your own PC or a public proxy server) to do this, but it's likely that most public proxies are set up to use port 80 (only) for HTTP. It might be worth some investigation, though.

Jim

cezuk

2:46 pm on Oct 12, 2007 (gmt 0)

10+ Year Member



Thankfully I have full root access to the entire server (minus the Kernel), so from what you've said at least I know I have a chance!

Thanks a lot for the info