leonardodcrapio Posted June 4, 2014 Posted June 4, 2014 I want to use my website as a gateway to various servers that I host on my own local network. So I was wondering if there is a way I can forward a url, let's call it, 'website.com/this/directory' to website.com:6654 which in turn points to 111.11.111.11:6654. I would need this to work for various clients (like gaming clients) so that they could be pointed to website.com/this/directory but, in the end, connect to 111.11.111.11:6654. I found an interesting article on this (http://serverfault.com/questions/472482/proxypass-redirect-directory-url-to-non-standard-port) and wonder if it would work here. Could anyone clear this up for me? Edit: Some of the listener ports would be lower than 1024.
Tjoene Posted June 4, 2014 Posted June 4, 2014 As far as I know, heliohost doesn't offer proxypass as a apache module. Also, you need root access to change those config files, we don't allow that for security reasons.
hussam Posted June 4, 2014 Posted June 4, 2014 maybe you can use htaccess to direct http://mywebsite.com/folder tohttp://mygame.mywebsite.com:6654then use cloudflare to point mygame.mywebsite.com to 111.11.111.11? I'm not sure if that even works because this only works through http in browsers but it is the only thing I can think of. 1
leonardodcrapio Posted June 5, 2014 Author Posted June 5, 2014 Tjoene, would helihost allow what hussam suggested? hussam, as far as pointing the mygame.mywebsite.com to 111.11.111.11, I have that figured out. Thanks for your suggestion with modifying htaccess though.
Tjoene Posted June 5, 2014 Posted June 5, 2014 Using htaccess to redirect URL's is very common and shouldn't be a problem.Also, cloudflare would actually redirect the request away from heliohost, so that solution could work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now