• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Web address without using the port number

use virtual hosts and have a different domain name (or use a subdomain, like dev.example.com) that points to the same host IP, then run them both on the same port. Then have the site on the subdomain do a redirect to the different port number on some other server. Or ditch the other port entirely.
 
Got it figured out. Here's the basic config that I used.

Code:
<VirtualHost *:80>
        ServerName http://site2.example.com
        redirect permanent / http://www.example.com:8888
</VirtualHost>
 
It's OK for now. I'm just working on a personal site. Eventually, I would like to do something a little more elegant. Thanks for the info.
 
reverse proxy's are definitly what you want want. I've got 4-5 application servers running behind an apache server that does reverse proxies to them.

site.com/app1 -> appserver1:8080
site.com/app2 -> appserver1:8081
site.com/app3 -> appserver1:8082/app3
site.com/app4 -> appserver1:8082/app3
site.com/app4 -> appserver2:8080
etc.

then if I need to move an app or point to an alternate appserver (maintenance, new hardware, etc) I don't have to tell the 500 folks using them to hit a different URL.

Best part is my apache server is the only one "publicly" available. The app servers sit off in their own sheltered space that the users couldn't get to if they happened to know their names.
 
So I decided to go ahead and try setting up a reverse proxy. I've been searching around on how to do it and came up with the config below and enabled it with a2ensite, but I am getting a 500 internal server error. Looking in the error log, I see this:

[Thu Feb 17 13:41:38 2011] [warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.


Code:
<VirtualHost *:80>
ServerName http://site2.example.com

        ProxyRequests Off
        ProxyPass / http://site2.example.com:22420/
        ProxyPassReverse / http://site2.example.com:22420/

 </VirtualHost>
~
 
Back
Top