Summary
This document describes how to configure the APS to respond on a non-standard port.
The APS automatically assumes that HTTP traffic is coming over port 80 and HTTPS traffic is coming over port 443.
Procedure
There are multiple usage scenarios that might apply to your situation:
To set up one application to respond on a particular port
1. Open the UI at the site level.
2. Go to Setup > Network.
3. Create the Web application with the desired HTTP port.
4. Go to Setup > Web Applications.
5. Click your application.
6. Click Bind Aliases. Fill in the screen as desired.
Do you want all HTTP/HTTPS traffic to go to an alternate port?
If so, this can be done through the CLI and the set_http(s)_port command.
Users should go to http://www.yoursite.com, but that points to http://www.yoursite.com:#### internally (where #### is a port number)
To do this:
1. In the APS UI, change from site to the application by clicking the word site in the upper left corner.
2. Under setup, choose SAFE Router.
3. Confirm that \"Enable URL Rewriting\" is selected. If it is not, select it and click the Save button.
4. Under Request URL, click Add.
5. Fill in the request URL with ^http://www.yoursite.com and the internal URL with http://www.yoursite.com:.
6. Click OK and wait for the UI to refresh.