HTTP/HTTPS traffic can be automatically redirected to the intended protocol, host and/or port. The redirect process substitutes the appropriate portion of the URL (
[protocol]://[host][:port]
). For example, if a user typed the address "secure.example.com" (which translates to http://secure.example.com on port 80), the connection could be redirected to https://secure.example.com:9001 by specifying the HTTPS protocol and providing the port used for SSL traffic.